aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/troff2html
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/troff2html
parent94d85bc000866ecb4874e0e5bdcf30de4a84862e (diff)
downloadplan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.tar.gz
plan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.tar.bz2
plan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.zip
NetBSD-macppc ctype needs uchars.
Diffstat (limited to 'src/cmd/troff2html')
-rw-r--r--src/cmd/troff2html/troff2html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/troff2html/troff2html.c b/src/cmd/troff2html/troff2html.c
index 9cf0bdac..4a3b6402 100644
--- a/src/cmd/troff2html/troff2html.c
+++ b/src/cmd/troff2html/troff2html.c
@@ -438,7 +438,7 @@ header(char *s)
char buf[512];
strecpy(buf, buf+sizeof buf, pagename);
for(p=buf; *p; p++)
- *p = tolower(*p);
+ *p = tolower((uchar)*p);
Bprint(&bout, "<title>%s(%s) - %s</title>\n", buf, section, s);
}else
Bprint(&bout, "<title>%s</title>\n", s);