Fixed another buffer security warning
authorSam Lantinga <slouken@libsdl.org>
Sun, 15 Jun 2014 17:30:09 -0700
changeset 452b72e4038e532
parent 451 48116d511e5d
child 453 c0132bb6251a
Fixed another buffer security warning
IMG_webp.c
     1.1 --- a/IMG_webp.c	Sun Jun 15 13:16:42 2014 -0700
     1.2 +++ b/IMG_webp.c	Sun Jun 15 17:30:09 2014 -0700
     1.3 @@ -289,7 +289,7 @@
     1.4      }
     1.5  
     1.6      if ( error ) {
     1.7 -        IMG_SetError( error );
     1.8 +        IMG_SetError( "%s", error );
     1.9      }
    1.10  
    1.11      SDL_RWseek(src, start, RW_SEEK_SET);