From 084a57f08e1229b9731b1523b42dff01e40ce9fe Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 31 Oct 2011 01:59:54 -0400 Subject: [PATCH] Fixed warnings on iOS --- src/SDL_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDL_log.c b/src/SDL_log.c index 0f9a84873..40aba9354 100644 --- a/src/SDL_log.c +++ b/src/SDL_log.c @@ -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; }