more ctype unsigned char fixes

This commit is contained in:
Charlie Gordon 2007-12-06 17:59:23 +00:00
commit a064ff97a0
5 changed files with 13 additions and 17 deletions

View file

@ -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++;