From 28cc61a1ff9c65bab78b278b1185dc4fc3359826 Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Sun, 2 Feb 2020 08:16:58 -0800 Subject: [PATCH] stb_image: fix previous fix --- stb_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_image.h b/stb_image.h index c02359b..4de0ca1 100644 --- a/stb_image.h +++ b/stb_image.h @@ -6657,7 +6657,7 @@ static void *stbi__load_gif_main(stbi__context *s, int **delays, int *x, int *y, return stbi__errpuc("outofmem", "Out of memory"); } else - out = tmp; + out = (stbi_uc*) tmp; if (delays) { *delays = (int*) STBI_REALLOC( *delays, sizeof(int) * layers ); }