aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/graph/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/graph/graph.c')
-rw-r--r--src/cmd/graph/graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/graph/graph.c b/src/cmd/graph/graph.c
index b740a53e..01c8bc66 100644
--- a/src/cmd/graph/graph.c
+++ b/src/cmd/graph/graph.c
@@ -646,7 +646,7 @@ getstring(void){
return(-1);
switch(*labbuf) {
default:
- if(!isdigit(*labbuf)) {
+ if(!isdigit((uchar)*labbuf)) {
ungetc(*labbuf,stdin);
i = scanf("%s",labbuf);
break;