summaryrefslogtreecommitdiffstats
path: root/out.c
diff options
context:
space:
mode:
Diffstat (limited to 'out.c')
-rw-r--r--out.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/out.c b/out.c
index be54abcd..44cc0eae 100644
--- a/out.c
+++ b/out.c
@@ -431,7 +431,8 @@ tblcalc(struct rofftbl *tbl, const struct tbl_span *sp)
*/
assert(NULL == tbl->cols);
- tbl->cols = calloc(sp->tbl->cols, sizeof(struct roffcol));
+ tbl->cols = calloc
+ ((size_t)sp->tbl->cols, sizeof(struct roffcol));
hp = sp->head;