summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-27 09:39:40 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-27 09:39:40 +0000
commit79f971e5f7cb6c69d1b2ed2d38a5bccd604a24f5 (patch)
treee79a27c76524024d5fa19f0e46c5dcb1f257d997 /action.c
parent7b98305324c48ff2b74e270c6b4a44f644a56350 (diff)
downloadmandoc-79f971e5f7cb6c69d1b2ed2d38a5bccd604a24f5.tar.gz
Lintified sources.
Diffstat (limited to 'action.c')
-rw-r--r--action.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/action.c b/action.c
index 6197675a..a6599ae2 100644
--- a/action.c
+++ b/action.c
@@ -285,8 +285,8 @@ static int
post_bl(struct mdoc *mdoc)
{
struct mdoc_block *bl;
- size_t i, width;
- int tok;
+ size_t width;
+ int tok, i;
char buf[32];
if (MDOC_BLOCK != mdoc->last->type)
@@ -294,11 +294,11 @@ post_bl(struct mdoc *mdoc)
bl = &mdoc->last->data.block;
- for (i = 0; i < bl->argc; i++)
+ for (i = 0; i < (int)bl->argc; i++)
if (MDOC_Width == bl->argv[i].arg)
break;
- if (i == bl->argc)
+ if (i == (int)bl->argc)
return(1);
assert(1 == bl->argv[i].sz);