summaryrefslogtreecommitdiffstatshomepage
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
commit3cd681acae540f380510bee14cd2ef802fbf4706 (patch)
tree3d6736ca0ab2d026ff24425b270dd6ada78fb711 /action.c
parent5aa5fb2953d8b211810e072acbcde56c4ffb65fb (diff)
downloadmandoc-3cd681acae540f380510bee14cd2ef802fbf4706.tar.gz
mandoc-3cd681acae540f380510bee14cd2ef802fbf4706.tar.zst
mandoc-3cd681acae540f380510bee14cd2ef802fbf4706.zip
Lintified sources.
Diffstat (limited to 'action.c')
-rw-r--r--action.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/action.c b/action.c
index ec4c9872..2934750b 100644
--- a/action.c
+++ b/action.c
@@ -1,4 +1,4 @@
-/* $Id: action.c,v 1.20 2009/02/26 16:08:11 kristaps Exp $ */
+/* $Id: action.c,v 1.21 2009/02/27 09:39:40 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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);