tNetBSD-macppc ctype needs uchars. - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 94d85bc000866ecb4874e0e5bdcf30de4a84862e
DIR parent 1caec48b78c7db6e5b9d010acc03834178ecc2f5
HTML Author: rsc <devnull@localhost>
Date: Fri, 9 Sep 2005 23:10:38 +0000
NetBSD-macppc ctype needs uchars.
Diffstat:
M src/cmd/hget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/src/cmd/hget.c b/src/cmd/hget.c
t@@ -1263,7 +1263,7 @@ int
cistrcmp(char *a, char *b)
{
while(*a || *b)
- if(tolower(*a++) != tolower(*b++))
+ if(tolower((uchar)*a++) != tolower((uchar)*b++))
return -1;
return 0;