Add uchar for NetBSD ctype.

This commit is contained in:
rsc 2005-09-09 23:49:50 +00:00
parent 438503b4c3
commit 038f8db24a

View file

@ -875,7 +875,7 @@ parsewinsize(char *s, Rectangle *r, int *havemin)
os = s; os = s;
*havemin = 0; *havemin = 0;
*r = Rect(0,0,0,0); *r = Rect(0,0,0,0);
if(!isdigit(*s)) if(!isdigit((uchar)*s))
goto oops; goto oops;
i = strtol(s, &s, 0); i = strtol(s, &s, 0);
if(*s == 'x'){ if(*s == 'x'){