Fixed warnings on iOS

This commit is contained in:
Sam Lantinga
2011-10-31 01:59:54 -04:00
parent c2a6df6073
commit 4827ef3a38

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;
}