summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-07 21:03:02 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-07 21:03:02 +0000
commit637d837faad6802afce2856632a4fc04ac8c8500 (patch)
tree37de8d446325854a01a78f0fd12818adb004281d /term.c
parent7506d04e28e759651e3b7cf0f671282cfb8ab4fd (diff)
downloadmandoc-637d837faad6802afce2856632a4fc04ac8c8500.tar.gz
Lint fix.
Added J.C. Roberts' TODO note.
Diffstat (limited to 'term.c')
-rw-r--r--term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term.c b/term.c
index 42f0c8e1..a85292f4 100644
--- a/term.c
+++ b/term.c
@@ -315,7 +315,7 @@ alloc(char *outopts, enum termenc enc, enum termtype type)
while (outopts && *outopts)
switch (getsubopt(&outopts, UNCONST(toks), &v)) {
case (0):
- width = atoi(v);
+ width = (size_t)atoi(v);
break;
default:
break;