summaryrefslogtreecommitdiffstats
path: root/mdoc_action.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-17 14:10:09 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-17 14:10:09 +0000
commit2d4c430c38205b2c5c65b0facaafa3aa81bac9a7 (patch)
tree847136216da7630b0e38bc97e52b6be0bbefb958 /mdoc_action.c
parentfaf0f4ffb473b01c18346decdde9edc628919365 (diff)
downloadmandoc-2d4c430c38205b2c5c65b0facaafa3aa81bac9a7.tar.gz
Lint fixes.
Diffstat (limited to 'mdoc_action.c')
-rw-r--r--mdoc_action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_action.c b/mdoc_action.c
index 9d8d819d..4631744b 100644
--- a/mdoc_action.c
+++ b/mdoc_action.c
@@ -666,8 +666,8 @@ post_bl_head(POST_ARGS)
for (i = 0, nn = m->last->child; nn; nn = nn->next, i++)
/* Count children. */;
- n->args->argv[c].sz = i;
- n->args->argv[c].value = malloc(i * sizeof(char *));
+ n->args->argv[c].sz = (size_t)i;
+ n->args->argv[c].value = malloc((size_t)i * sizeof(char *));
for (i = 0, nn = m->last->child; nn; i++) {
n->args->argv[c].value[i] = nn->string;