aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit3572d7e4773e34f2d039d1436af1c91795887f04 (patch)
treedf3354c5fd7a8a37527b23a9d8ec160a39fe37c8 /out.c
parentef0353dfc9e7fa3b8dd811c3b71e0e3af38aa552 (diff)
downloadmandoc-3572d7e4773e34f2d039d1436af1c91795887f04.tar.gz
mandoc-3572d7e4773e34f2d039d1436af1c91795887f04.tar.zst
mandoc-3572d7e4773e34f2d039d1436af1c91795887f04.zip
Make lint shut up a little bit.
Diffstat (limited to 'out.c')
-rw-r--r--out.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/out.c b/out.c
index 2f006c89..a8d5794b 100644
--- a/out.c
+++ b/out.c
@@ -1,4 +1,4 @@
-/* $Id: out.c,v 1.37 2011/01/30 16:05:37 schwarze Exp $ */
+/* $Id: out.c,v 1.38 2011/03/15 16:23:51 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -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;