summaryrefslogtreecommitdiffstats
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
commit792762cbb772aaf51b391b8c492fc1285528dd88 (patch)
tree8886ac7ff1741e71906364d4357fc63ce7f6e2b6 /mandoc.c
parent87d72e07e9c7935f4db2f36c4fc32716cd34b865 (diff)
downloadmandoc-792762cbb772aaf51b391b8c492fc1285528dd88.tar.gz
Make lint shut up a little bit.
Diffstat (limited to 'mandoc.c')
-rw-r--r--mandoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandoc.c b/mandoc.c
index 3151d34b..e4c5ca6f 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -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]))