mirror of https://github.com/nothings/stb.git
stb_image: fix previous fix
This commit is contained in:
parent
770e4dbe50
commit
28cc61a1ff
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue