summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO3
-rw-r--r--term.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/TODO b/TODO
index 3fc2d98b..de158aa8 100644
--- a/TODO
+++ b/TODO
@@ -65,6 +65,9 @@
- set a meaningful default if no `Bl' list type is assigned
- have a blank `It' head for `Bl -tag' not puke
+
+- ignore horrendous m[] font colouring
+ reported by J.C. Roberts
************************************************************************
* formatting issues: ugly output
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;