Not dealing with size_t mess with SDL code

This commit is contained in:
Alam Ed Arias 2019-12-06 14:42:47 -05:00
parent e105c2f749
commit 1f183e1c1f
1 changed files with 1 additions and 1 deletions

View File

@ -1012,7 +1012,7 @@ static SDL_Surface *load_xpm(const char **xpm, SDL_RWops *src)
size_t index;
int x, y;
int w, h, cpp;
size_t ncolors;
long unsigned int ncolors;
size_t indexed;
Uint8 *dst;
struct color_hash *colors = NULL;