aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tail.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-07-19 18:00:07 +0000
committerrsc <devnull@localhost>2005-07-19 18:00:07 +0000
commit1c171e3add096f5fbecceefd19f21a43c08b5509 (patch)
treee8b4ac09d6909617761c9ad476ff295d0e91d195 /src/cmd/tail.c
parent86a1a5e7b30c37ad1d1a169855eb7b94b00d6aec (diff)
downloadplan9port-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.c4
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;
}