Explorar el Código

Fixed signed/unsigned warning

Sam Lantinga hace 12 años
padre
commit
550676d08d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/video/SDL_bmp.c

+ 1 - 1
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);