Fixed warnings on iOS

This commit is contained in:
Sam Lantinga 2011-10-31 01:59:54 -04:00
parent f7c2849eb9
commit ec5e765da6

View file

@ -258,7 +258,7 @@ SDL_LogMessageV(int category, SDL_LogPriority priority, const char *fmt, va_list
}
/* Make sure we don't exceed array bounds */
if (priority < 0 || priority >= SDL_NUM_LOG_PRIORITIES) {
if ((int)priority < 0 || priority >= SDL_NUM_LOG_PRIORITIES) {
return;
}