src/SDL_log.c
changeset 6040 08aa9c1dfed6
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
--- 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;
     }