aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9660/ichar.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-09-09 23:16:15 +0000
committerrsc <devnull@localhost>2005-09-09 23:16:15 +0000
commit3bd56b04a8bab7208494fd7dc74af5528fc41604 (patch)
treeedf470d36f67c5726bc93f1b4bc185a516b888b9 /src/cmd/9660/ichar.c
parent94d85bc000866ecb4874e0e5bdcf30de4a84862e (diff)
downloadplan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.tar.gz
plan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.tar.bz2
plan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.zip
NetBSD-macppc ctype needs uchars.
Diffstat (limited to 'src/cmd/9660/ichar.c')
-rw-r--r--src/cmd/9660/ichar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmd/9660/ichar.c b/src/cmd/9660/ichar.c
index 35b0c056..3b2b5367 100644
--- a/src/cmd/9660/ichar.c
+++ b/src/cmd/9660/ichar.c
@@ -25,8 +25,7 @@ isostring(uchar *buf, int len)
while(len > 0 && p[len-1] == ' ')
p[--len] = '\0';
for(q=p; *q; q++)
- *q = tolower(*q);
-
+ *q = tolower((uchar)*q);
q = atom(p);
free(p);
return q;