Fixed compiler warning
authorSam Lantinga <slouken@libsdl.org>
Sun, 06 Mar 2011 21:17:44 -0800
changeset 5427d9b4fd6fcdc4
parent 5426 7a3982c50af8
child 5428 cff5d3cd5777
Fixed compiler warning
src/stdlib/SDL_string.c
     1.1 --- a/src/stdlib/SDL_string.c	Sun Mar 06 21:17:09 2011 -0800
     1.2 +++ b/src/stdlib/SDL_string.c	Sun Mar 06 21:17:44 2011 -0800
     1.3 @@ -865,8 +865,8 @@
     1.4          ++str2;
     1.5          --maxlen;
     1.6      }
     1.7 -    a = SDL_tolower(*str1);
     1.8 -    b = SDL_tolower(*str2);
     1.9 +    a = SDL_tolower((unsigned char) *str1);
    1.10 +    b = SDL_tolower((unsigned char) *str2);
    1.11      return (int) ((unsigned char) a - (unsigned char) b);
    1.12  }
    1.13  #endif