mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 07:52:57 -05:00
Fixed compiler warning
This commit is contained in:
parent
9ce85e3a61
commit
819b3f3559
|
|
@ -865,8 +865,8 @@ SDL_strncasecmp(const char *str1, const char *str2, size_t maxlen)
|
|||
++str2;
|
||||
--maxlen;
|
||||
}
|
||||
a = SDL_tolower(*str1);
|
||||
b = SDL_tolower(*str2);
|
||||
a = SDL_tolower((unsigned char) *str1);
|
||||
b = SDL_tolower((unsigned char) *str2);
|
||||
return (int) ((unsigned char) a - (unsigned char) b);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user