aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'term.c')
-rw-r--r--term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/term.c b/term.c
index f8e7c395..cadde0ca 100644
--- 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;