mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixed the pnglite fix
This commit is contained in:
parent
f1df704d78
commit
694be7dfb5
2
src/engine/external/pnglite/pnglite.c
vendored
2
src/engine/external/pnglite/pnglite.c
vendored
|
@ -113,7 +113,7 @@ int png_init(png_alloc_t pngalloc, png_free_t pngfree)
|
|||
if(pngalloc)
|
||||
png_alloc = pngalloc;
|
||||
else
|
||||
png_alloc = &(png_alloc_t)malloc;
|
||||
png_alloc = (png_alloc_t)&malloc;
|
||||
|
||||
if(pngfree)
|
||||
png_free = pngfree;
|
||||
|
|
Loading…
Reference in a new issue