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 /term.c | |
parent | 7b98305324c48ff2b74e270c6b4a44f644a56350 (diff) | |
download | mandoc-79f971e5f7cb6c69d1b2ed2d38a5bccd604a24f5.tar.gz |
Lintified sources.
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -277,7 +277,8 @@ const struct termact *termacts = __termacts; static size_t arg_width(const struct mdoc_arg *arg) { - size_t len, i, v; + size_t v; + int i, len; assert(*arg->value); if (0 == strcmp(*arg->value, "indent")) @@ -285,7 +286,7 @@ arg_width(const struct mdoc_arg *arg) if (0 == strcmp(*arg->value, "indent-two")) return(INDENT * 2); - len = strlen(*arg->value); + len = (int)strlen(*arg->value); assert(len > 0); for (i = 0; i < len - 1; i++) |