diff options
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |