From 13255de738140bf9fed5a722c85cf8e0f7083a9d Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 16 Dec 2011 20:06:58 +0000 Subject: Two lint fixes. --- cgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgi.c') diff --git a/cgi.c b/cgi.c index 6d25fbfe..9551e459 100644 --- a/cgi.c +++ b/cgi.c @@ -134,7 +134,7 @@ atou(const char *buf, unsigned *v) return(0); if ((errno == ERANGE && (lval == LONG_MAX || lval == LONG_MIN)) || - (lval > UINT_MAX || lval < 0)) + (lval > INT_MAX || lval < 0)) return(0); *v = (unsigned int)lval; -- cgit