]> git.cameronkatri.com Git - mandoc.git/blobdiff - term.c
Lint fix.
[mandoc.git] / term.c
diff --git a/term.c b/term.c
index f8e7c395e2ba83d3a115d525b2955890615bb558..cadde0ca654f709538ca243afcc32cdb2e0f9fb6 100644 (file)
--- a/term.c
+++ b/term.c
@@ -1,4 +1,4 @@
-/*     $Id: term.c,v 1.142 2010/06/07 20:57:09 kristaps Exp $ */
+/*     $Id: term.c,v 1.143 2010/06/07 21:03:02 kristaps Exp $ */
 /*
  * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
  *
@@ -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;