From 1f183e1c1f9a02520bac66d7f2bcb6ce4778c473 Mon Sep 17 00:00:00 2001
From: Alam Ed Arias <alam@srb2.org>
Date: Fri, 6 Dec 2019 14:42:47 -0500
Subject: [PATCH] Not dealing with size_t mess with SDL code

---
 src/sdl/IMG_xpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sdl/IMG_xpm.c b/src/sdl/IMG_xpm.c
index 43fb4ded2..458131620 100644
--- a/src/sdl/IMG_xpm.c
+++ b/src/sdl/IMG_xpm.c
@@ -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;
-- 
GitLab