summaryrefslogtreecommitdiffstats
path: root/out.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-03-15 16:23:51 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-03-15 16:23:51 +0000
commit792762cbb772aaf51b391b8c492fc1285528dd88 (patch)
tree8886ac7ff1741e71906364d4357fc63ce7f6e2b6 /out.c
parent87d72e07e9c7935f4db2f36c4fc32716cd34b865 (diff)
downloadmandoc-792762cbb772aaf51b391b8c492fc1285528dd88.tar.gz
Make lint shut up a little bit.
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;