diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libdraw/x11-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libdraw/x11-init.c b/src/libdraw/x11-init.c index 537920d2..72292671 100644 --- a/src/libdraw/x11-init.c +++ b/src/libdraw/x11-init.c @@ -875,7 +875,7 @@ parsewinsize(char *s, Rectangle *r, int *havemin) os = s; *havemin = 0; *r = Rect(0,0,0,0); - if(!isdigit(*s)) + if(!isdigit((uchar)*s)) goto oops; i = strtol(s, &s, 0); if(*s == 'x'){ |