From 79f971e5f7cb6c69d1b2ed2d38a5bccd604a24f5 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 27 Feb 2009 09:39:40 +0000 Subject: Lintified sources. --- term.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'term.c') diff --git a/term.c b/term.c index 4a9e93d1..668d4709 100644 --- a/term.c +++ b/term.c @@ -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++) -- cgit