From ed5e3c51cf000a55a9774ad85994aa7c35abc0df Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 10 Jan 2011 15:31:00 +0000 Subject: Clarify what members may be NULL or not in calculating widths. Make sure signedness is correct. Verify that layouts MUST exit for data cells. --- tbl_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tbl_layout.c') diff --git a/tbl_layout.c b/tbl_layout.c index ea93f645..25b77e1c 100644 --- a/tbl_layout.c +++ b/tbl_layout.c @@ -122,7 +122,7 @@ mod: } *pos += i; - cp->spacing = atoi(buf); + cp->spacing = (size_t)atoi(buf); goto mod; /* NOTREACHED */ -- cgit