diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-17 14:10:09 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-17 14:10:09 +0000 |
commit | 2d4c430c38205b2c5c65b0facaafa3aa81bac9a7 (patch) | |
tree | 847136216da7630b0e38bc97e52b6be0bbefb958 /mdoc_action.c | |
parent | faf0f4ffb473b01c18346decdde9edc628919365 (diff) | |
download | mandoc-2d4c430c38205b2c5c65b0facaafa3aa81bac9a7.tar.gz |
Lint fixes.
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; |