diff options
Diffstat (limited to 'mdoc_action.c')
-rw-r--r-- | mdoc_action.c | 4 |
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; |