fixed the pnglite fix

This commit is contained in:
Choupom 2011-04-25 19:18:01 +02:00 committed by oy
parent f1df704d78
commit 694be7dfb5

View file

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