Fixed warnings on iOS
authorSam Lantinga <slouken@libsdl.org>
Mon, 31 Oct 2011 01:59:54 -0400
changeset 6040 08aa9c1dfed6
parent 6039 85afb0c1dd04
child 6041 69d7539ff51f
Fixed warnings on iOS
src/SDL_log.c
--- a/src/SDL_log.c	Sun Oct 30 17:53:54 2011 -0400
+++ b/src/SDL_log.c	Mon Oct 31 01:59:54 2011 -0400
@@ -258,7 +258,7 @@
     }
 
     /* 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;
     }