aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.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 /mandoc.c
parentef0353dfc9e7fa3b8dd811c3b71e0e3af38aa552 (diff)
downloadmandoc-3572d7e4773e34f2d039d1436af1c91795887f04.tar.gz
mandoc-3572d7e4773e34f2d039d1436af1c91795887f04.tar.zst
mandoc-3572d7e4773e34f2d039d1436af1c91795887f04.zip
Make lint shut up a little bit.
Diffstat (limited to 'mandoc.c')
-rw-r--r--mandoc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandoc.c b/mandoc.c
index 0e1680aa..6f4f656e 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -1,4 +1,4 @@
-/* $Id: mandoc.c,v 1.38 2011/03/15 03:03:54 schwarze Exp $ */
+/* $Id: mandoc.c,v 1.39 2011/03/15 16:23:51 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -354,7 +354,7 @@ mandoc_getarg(char **cpp, mandocmsg msg, void *data, int ln, int *pos)
while (' ' == *cp)
cp++;
}
- *pos += (cp - start) + (quoted ? 1 : 0);
+ *pos += (int)(cp - start) + (quoted ? 1 : 0);
*cpp = cp;
if ('\0' == *cp && msg && (white || ' ' == cp[-1]))