aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw/x11-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdraw/x11-init.c')
-rw-r--r--src/libdraw/x11-init.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libdraw/x11-init.c b/src/libdraw/x11-init.c
index 741d3678..537920d2 100644
--- a/src/libdraw/x11-init.c
+++ b/src/libdraw/x11-init.c
@@ -880,7 +880,7 @@ parsewinsize(char *s, Rectangle *r, int *havemin)
i = strtol(s, &s, 0);
if(*s == 'x'){
s++;
- if(!isdigit(*s))
+ if(!isdigit((uchar)*s))
goto oops;
j = strtol(s, &s, 0);
r->max.x = i;
@@ -891,13 +891,13 @@ parsewinsize(char *s, Rectangle *r, int *havemin)
goto oops;
s++;
- if(!isdigit(*s))
+ if(!isdigit((uchar)*s))
goto oops;
i = strtol(s, &s, 0);
if(*s != ',' && *s != ' ')
goto oops;
s++;
- if(!isdigit(*s))
+ if(!isdigit((uchar)*s))
goto oops;
j = strtol(s, &s, 0);
if(*s != 0)
@@ -911,19 +911,19 @@ parsewinsize(char *s, Rectangle *r, int *havemin)
if(c != ' ' && c != ',')
goto oops;
s++;
- if(!isdigit(*s))
+ if(!isdigit((uchar)*s))
goto oops;
j = strtol(s, &s, 0);
if(*s != c)
goto oops;
s++;
- if(!isdigit(*s))
+ if(!isdigit((uchar)*s))
goto oops;
k = strtol(s, &s, 0);
if(*s != c)
goto oops;
s++;
- if(!isdigit(*s))
+ if(!isdigit((uchar)*s))
goto oops;
l = strtol(s, &s, 0);
if(*s != 0)