stb_image: fix previous fix

This commit is contained in:
Sean Barrett 2020-02-02 08:16:58 -08:00
parent 770e4dbe50
commit 28cc61a1ff
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}