aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tbl
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-10-31 16:47:30 +0000
committerrsc <devnull@localhost>2005-10-31 16:47:30 +0000
commita47fbb16412bbec1507d00be3cade04cce2536fe (patch)
tree0febccaf7a7674f3ec5d8357a85bd4441dc44078 /src/cmd/tbl
parent96029e052b1408ca1d07ade8fd8c5bc10b2cd710 (diff)
downloadplan9port-a47fbb16412bbec1507d00be3cade04cce2536fe.tar.gz
plan9port-a47fbb16412bbec1507d00be3cade04cce2536fe.tar.bz2
plan9port-a47fbb16412bbec1507d00be3cade04cce2536fe.zip
ctype sign fixes (Tom Miller)
Diffstat (limited to 'src/cmd/tbl')
-rw-r--r--src/cmd/tbl/t5.c2
-rw-r--r--src/cmd/tbl/t9.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/tbl/t5.c b/src/cmd/tbl/t5.c
index 8b7a65d8..3b12d98f 100644
--- a/src/cmd/tbl/t5.c
+++ b/src/cmd/tbl/t5.c
@@ -23,7 +23,7 @@ gettbl(void)
break;
}
fullbot[nlin] = 0;
- if (cstore[0] == '.' && !isdigit(cstore[1])) {
+ if (cstore[0] == '.' && !isdigit((uchar)cstore[1])) {
instead[nlin] = cstore;
while (*cstore++)
;
diff --git a/src/cmd/tbl/t9.c b/src/cmd/tbl/t9.c
index 379126d2..69e9d6c7 100644
--- a/src/cmd/tbl/t9.c
+++ b/src/cmd/tbl/t9.c
@@ -29,7 +29,7 @@ domore(char *dataln)
if (prefix(".TE", dataln))
return(0);
- if (dataln[0] == '.' && !isdigit(dataln[1])) {
+ if (dataln[0] == '.' && !isdigit((uchar)dataln[1])) {
Bprint(&tabout, "%s\n", dataln);
return(1);
}