diff options
author | rsc <devnull@localhost> | 2005-07-19 18:00:07 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-07-19 18:00:07 +0000 |
commit | 1c171e3add096f5fbecceefd19f21a43c08b5509 (patch) | |
tree | e8b4ac09d6909617761c9ad476ff295d0e91d195 /src/cmd/tail.c | |
parent | 86a1a5e7b30c37ad1d1a169855eb7b94b00d6aec (diff) | |
download | plan9port-1c171e3add096f5fbecceefd19f21a43c08b5509.tar.gz plan9port-1c171e3add096f5fbecceefd19f21a43c08b5509.tar.bz2 plan9port-1c171e3add096f5fbecceefd19f21a43c08b5509.zip |
I just hate to be pushed around by some @#$%^& machine.
Diffstat (limited to 'src/cmd/tail.c')
-rw-r--r-- | src/cmd/tail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/tail.c b/src/cmd/tail.c index db29986d..b40552bf 100644 --- a/src/cmd/tail.c +++ b/src/cmd/tail.c @@ -331,7 +331,7 @@ getnumber(char *s) { if(*s=='-' || *s=='+') s++; - if(!isdigit(*s)) + if(!isdigit((uchar)*s)) return 0; if(s[-1] == '+') origin = BEG; @@ -340,7 +340,7 @@ getnumber(char *s) count = atol(s); /* check range of count */ - if(count < 0 || (int)count != count) + if(count < 0 || (int)count != count) fatal("too big"); return 1; } |