Fixed warnings on iOS
authorSam Lantinga <slouken@libsdl.org>
Mon, 31 Oct 2011 01:59:54 -0400
changeset 604008aa9c1dfed6
parent 6039 85afb0c1dd04
child 6041 69d7539ff51f
Fixed warnings on iOS
src/SDL_log.c
     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