From 550676d08d2cc36e5d618f76a0976d0828c2268e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 9 Nov 2013 00:56:05 -0800 Subject: [PATCH] Fixed signed/unsigned warning --- src/video/SDL_bmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_bmp.c b/src/video/SDL_bmp.c index f471341fb..c8f1a1689 100644 --- a/src/video/SDL_bmp.c +++ b/src/video/SDL_bmp.c @@ -150,7 +150,7 @@ SDL_LoadBMP_RW(SDL_RWops * src, int freesrc) biBitCount = SDL_ReadLE16(src); biCompression = BI_RGB; } else { - const int headerSize = 40; + const unsigned int headerSize = 40; biWidth = SDL_ReadLE32(src); biHeight = SDL_ReadLE32(src);