mirror of https://github.com/encounter/SDL.git
Fixed signed/unsigned warning
This commit is contained in:
parent
976c876924
commit
550676d08d
|
@ -150,7 +150,7 @@ SDL_LoadBMP_RW(SDL_RWops * src, int freesrc)
|
||||||
biBitCount = SDL_ReadLE16(src);
|
biBitCount = SDL_ReadLE16(src);
|
||||||
biCompression = BI_RGB;
|
biCompression = BI_RGB;
|
||||||
} else {
|
} else {
|
||||||
const int headerSize = 40;
|
const unsigned int headerSize = 40;
|
||||||
|
|
||||||
biWidth = SDL_ReadLE32(src);
|
biWidth = SDL_ReadLE32(src);
|
||||||
biHeight = SDL_ReadLE32(src);
|
biHeight = SDL_ReadLE32(src);
|
||||||
|
|
Loading…
Reference in New Issue