src/SDL_log.c
changeset 6040 08aa9c1dfed6
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
     1.1 --- a/src/SDL_log.c	Sun Oct 30 17:53:54 2011 -0400
     1.2 +++ b/src/SDL_log.c	Mon Oct 31 01:59:54 2011 -0400
     1.3 @@ -258,7 +258,7 @@
     1.4      }
     1.5  
     1.6      /* Make sure we don't exceed array bounds */
     1.7 -    if (priority < 0 || priority >= SDL_NUM_LOG_PRIORITIES) {
     1.8 +    if ((int)priority < 0 || priority >= SDL_NUM_LOG_PRIORITIES) {
     1.9          return;
    1.10      }
    1.11