Add uchar for NetBSD ctype.
This commit is contained in:
parent
438503b4c3
commit
038f8db24a
1 changed files with 1 additions and 1 deletions
|
|
@ -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'){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue