From 63831d6e7688fa7c3bdaad357dc3f6aad3362749 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 7 Jun 2010 21:03:02 +0000 Subject: Lint fix. Added J.C. Roberts' TODO note. --- term.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'term.c') 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 * @@ -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; -- cgit v1.2.3-56-ge451