summaryrefslogtreecommitdiffstatshomepage
path: root/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'term.c')
-rw-r--r--term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/term.c b/term.c
index d99fbd29..0aeaecfb 100644
--- a/term.c
+++ b/term.c
@@ -1,4 +1,4 @@
-/* $Id: term.c,v 1.45 2009/03/08 13:57:07 kristaps Exp $ */
+/* $Id: term.c,v 1.46 2009/03/08 14:01:46 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -316,7 +316,7 @@ arg_listtype(const struct mdoc_node *n)
assert(MDOC_BLOCK == n->type);
- len = n->args ? n->args->argc : 0;
+ len = (int)(n->args ? n->args->argc : 0);
for (i = 0; i < len; i++)
switch (n->args->argv[i].arg) {