diff options
author | rsc <devnull@localhost> | 2005-10-31 16:47:30 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-10-31 16:47:30 +0000 |
commit | a47fbb16412bbec1507d00be3cade04cce2536fe (patch) | |
tree | 0febccaf7a7674f3ec5d8357a85bd4441dc44078 /src/cmd/graph | |
parent | 96029e052b1408ca1d07ade8fd8c5bc10b2cd710 (diff) | |
download | plan9port-a47fbb16412bbec1507d00be3cade04cce2536fe.tar.gz plan9port-a47fbb16412bbec1507d00be3cade04cce2536fe.tar.bz2 plan9port-a47fbb16412bbec1507d00be3cade04cce2536fe.zip |
ctype sign fixes (Tom Miller)
Diffstat (limited to 'src/cmd/graph')
-rw-r--r-- | src/cmd/graph/graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/graph/graph.c b/src/cmd/graph/graph.c index 01c8bc66..3e740cb0 100644 --- a/src/cmd/graph/graph.c +++ b/src/cmd/graph/graph.c @@ -258,7 +258,7 @@ numb(float *np, int *argcp, char ***argvp){ return(0); while((c=(*argvp)[1][0]) == '+') (*argvp)[1]++; - if(!(isdigit(c) || c=='-'&&(*argvp)[1][1]<'A' || c=='.')) + if(!(isdigit((uchar)c) || c=='-'&&(*argvp)[1][1]<'A' || c=='.')) return(0); *np = atof((*argvp)[1]); (*argcp)--; |