summaryrefslogtreecommitdiffstats
path: root/cgi.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-12-16 20:06:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-12-16 20:06:58 +0000
commit13255de738140bf9fed5a722c85cf8e0f7083a9d (patch)
treea4c69f9f6f6c22db25a49eb319ce4cc2da1e933e /cgi.c
parent8b66b26e198f21b9cea1d08ab3091f732148b3fb (diff)
downloadmandoc-13255de738140bf9fed5a722c85cf8e0f7083a9d.tar.gz
Two lint fixes.
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c2
1 files changed, 1 insertions, 1 deletions
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;