Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed warnings on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 31, 2011
1 parent 06ef634 commit 084a57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDL_log.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 084a57f

Please sign in to comment.