IMG.c
changeset 343 5bf0f0d6a74e
parent 320 aa5d55b11751
child 347 ad5034cad524
     1.1 --- a/IMG.c	Sun Jan 27 15:55:03 2013 -0800
     1.2 +++ b/IMG.c	Sun Feb 03 08:37:28 2013 -0800
     1.3 @@ -123,7 +123,7 @@
     1.4  SDL_Surface *IMG_Load(const char *file)
     1.5  {
     1.6      SDL_RWops *src = SDL_RWFromFile(file, "rb");
     1.7 -    char *ext = strrchr(file, '.');
     1.8 +    const char *ext = strrchr(file, '.');
     1.9      if(ext) {
    1.10          ext++;
    1.11      }