mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-11 05:05:32 +00:00
make SDL_strcasecmp standard compliant
This commit is contained in:
parent
b59ca92e82
commit
aec58d8208
|
@ -1118,8 +1118,8 @@ SDL_strcasecmp(const char *str1, const char *str2)
|
|||
++str1;
|
||||
++str2;
|
||||
}
|
||||
a = SDL_toupper(*str1);
|
||||
b = SDL_toupper(*str2);
|
||||
a = SDL_toupper((unsigned char) *str1);
|
||||
b = SDL_toupper((unsigned char) *str2);
|
||||
return (int) ((unsigned char) a - (unsigned char) b);
|
||||
#endif /* HAVE_STRCASECMP */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue