From 694be7dfb51a9b45d63f40189fe7113c3ab0aa2a Mon Sep 17 00:00:00 2001 From: Choupom Date: Mon, 25 Apr 2011 19:18:01 +0200 Subject: [PATCH] fixed the pnglite fix --- src/engine/external/pnglite/pnglite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/external/pnglite/pnglite.c b/src/engine/external/pnglite/pnglite.c index 76bb077de..a036b4c24 100644 --- a/src/engine/external/pnglite/pnglite.c +++ b/src/engine/external/pnglite/pnglite.c @@ -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;