more ctype unsigned char fixes
This commit is contained in:
parent
d286b27756
commit
a064ff97a0
5 changed files with 13 additions and 17 deletions
|
|
@ -1048,7 +1048,7 @@ static int xml_tagcmp(const char *s1, const char *s2)
|
|||
int d;
|
||||
|
||||
while (*s2) {
|
||||
d = *(const unsigned char *)s2 - tolower(*(const unsigned char *)s1);
|
||||
d = (unsigned char)*s2 - tolower((unsigned char)*s1);
|
||||
if (d)
|
||||
return d;
|
||||
s2++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue