summaryrefslogtreecommitdiffstats
path: root/tbl_layout.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-10 15:31:00 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-10 15:31:00 +0000
commited5e3c51cf000a55a9774ad85994aa7c35abc0df (patch)
tree3038b4cd4495d286fb7980c27cff8a70b29e27f5 /tbl_layout.c
parent8a26b665a342bbb1c095e7556e69d0995f952fe8 (diff)
downloadmandoc-ed5e3c51cf000a55a9774ad85994aa7c35abc0df.tar.gz
Clarify what members may be NULL or not in calculating widths. Make
sure signedness is correct. Verify that layouts MUST exit for data cells.
Diffstat (limited to 'tbl_layout.c')
-rw-r--r--tbl_layout.c2
1 files changed, 1 insertions, 1 deletions
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 */