aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ndb
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-03-03 17:28:46 +0000
committerrsc <devnull@localhost>2006-03-03 17:28:46 +0000
commitdf5d363ddd45a834d2b9d4df8e240760d054abf7 (patch)
tree6d37f29a348a7bcc22d1254cb98cc647f986424c /src/cmd/ndb
parentb5c7be2fd69c027f5de9772e117885cb1c89f907 (diff)
downloadplan9port-df5d363ddd45a834d2b9d4df8e240760d054abf7.tar.gz
plan9port-df5d363ddd45a834d2b9d4df8e240760d054abf7.tar.bz2
plan9port-df5d363ddd45a834d2b9d4df8e240760d054abf7.zip
tolower subscript
Diffstat (limited to 'src/cmd/ndb')
-rwxr-xr-xsrc/cmd/ndb/dblookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/ndb/dblookup.c b/src/cmd/ndb/dblookup.c
index f000d2b7..fd0eb207 100755
--- a/src/cmd/ndb/dblookup.c
+++ b/src/cmd/ndb/dblookup.c
@@ -111,7 +111,7 @@ dblookup(char *name, int class, int type, int auth, int ttl)
/* try lower case version */
for(cp = name; *cp; cp++)
- *cp = tolower(*cp);
+ *cp = tolower((uchar)*cp);
if(cachedb)
rp = rrlookup(dp, type, NOneg);
else