NetBSD-macppc ctype needs uchars.
This commit is contained in:
parent
1caec48b78
commit
94d85bc000
1 changed files with 1 additions and 1 deletions
|
|
@ -1263,7 +1263,7 @@ int
|
||||||
cistrcmp(char *a, char *b)
|
cistrcmp(char *a, char *b)
|
||||||
{
|
{
|
||||||
while(*a || *b)
|
while(*a || *b)
|
||||||
if(tolower(*a++) != tolower(*b++))
|
if(tolower((uchar)*a++) != tolower((uchar)*b++))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue