diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-27 09:39:40 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-27 09:39:40 +0000 |
commit | 79f971e5f7cb6c69d1b2ed2d38a5bccd604a24f5 (patch) | |
tree | e79a27c76524024d5fa19f0e46c5dcb1f257d997 /argv.c | |
parent | 7b98305324c48ff2b74e270c6b4a44f644a56350 (diff) | |
download | mandoc-79f971e5f7cb6c69d1b2ed2d38a5bccd604a24f5.tar.gz |
Lintified sources.
Diffstat (limited to 'argv.c')
-rw-r--r-- | argv.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -372,7 +372,7 @@ args(struct mdoc *mdoc, int line, p++; if (0 != *p) *(p - 1) = 0; - *pos += p - *v; + *pos += (int)(p - *v); } if (p && 0 == *p) @@ -393,7 +393,7 @@ args(struct mdoc *mdoc, int line, if (p > *v && ' ' == *(p - 1)) if ( ! pwarn(mdoc, line, *pos, WTAILWS)) return(0); - *pos += p - *v; + *pos += (int)(p - *v); return(ARGS_WORD); } @@ -647,7 +647,7 @@ argv_multi(struct mdoc *mdoc, int line, return(0); } else if (ARGS_EOLN == c) break; - v->value[v->sz] = p; + v->value[(int)v->sz] = p; } if (0 < v->sz && v->sz < MDOC_LINEARG_MAX) |