From f4073429113b38c3f4c30c8c2534da4daaa64c7c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 15 Jun 2014 17:30:09 -0700 Subject: [PATCH] Fixed another buffer security warning --- IMG_webp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IMG_webp.c b/IMG_webp.c index 0824aa1c..d413fe60 100644 --- a/IMG_webp.c +++ b/IMG_webp.c @@ -289,7 +289,7 @@ SDL_Surface *IMG_LoadWEBP_RW(SDL_RWops *src) } if ( error ) { - IMG_SetError( error ); + IMG_SetError( "%s", error ); } SDL_RWseek(src, start, RW_SEEK_SET);