aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tbl_opts.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-03-15 16:23:51 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-03-15 16:23:51 +0000
commit3572d7e4773e34f2d039d1436af1c91795887f04 (patch)
treedf3354c5fd7a8a37527b23a9d8ec160a39fe37c8 /tbl_opts.c
parentef0353dfc9e7fa3b8dd811c3b71e0e3af38aa552 (diff)
downloadmandoc-3572d7e4773e34f2d039d1436af1c91795887f04.tar.gz
mandoc-3572d7e4773e34f2d039d1436af1c91795887f04.tar.zst
mandoc-3572d7e4773e34f2d039d1436af1c91795887f04.zip
Make lint shut up a little bit.
Diffstat (limited to 'tbl_opts.c')
-rw-r--r--tbl_opts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl_opts.c b/tbl_opts.c
index b8e0ea2e..52a0403c 100644
--- a/tbl_opts.c
+++ b/tbl_opts.c
@@ -1,4 +1,4 @@
-/* $Id: tbl_opts.c,v 1.8 2011/01/09 05:38:23 joerg Exp $ */
+/* $Id: tbl_opts.c,v 1.9 2011/03/15 16:23:51 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -188,7 +188,7 @@ again: /*
/* Copy up to first non-alpha character. */
for (sv = *pos, i = 0; i < KEY_MAXNAME; i++, (*pos)++) {
- buf[i] = tolower((unsigned char)p[*pos]);
+ buf[i] = (char)tolower((unsigned char)p[*pos]);
if ( ! isalpha((unsigned char)buf[i]))
break;
}