Not dealing with size_t mess with SDL code
This commit is contained in:
parent
e105c2f749
commit
1f183e1c1f
|
@ -1012,7 +1012,7 @@ static SDL_Surface *load_xpm(const char **xpm, SDL_RWops *src)
|
||||||
size_t index;
|
size_t index;
|
||||||
int x, y;
|
int x, y;
|
||||||
int w, h, cpp;
|
int w, h, cpp;
|
||||||
size_t ncolors;
|
long unsigned int ncolors;
|
||||||
size_t indexed;
|
size_t indexed;
|
||||||
Uint8 *dst;
|
Uint8 *dst;
|
||||||
struct color_hash *colors = NULL;
|
struct color_hash *colors = NULL;
|
||||||
|
|
Loading…
Reference in a new issue