From ace10ed9a27bc5548bf8b75b68222d31d41fddee Mon Sep 17 00:00:00 2001 From: John Bowler Date: Sat, 19 Dec 2015 10:26:45 -0800 Subject: [PATCH] Fix release builds (incorrect debug macro) Signed-off-by: John Bowler --- pngwutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pngwutil.c b/pngwutil.c index b5e2967d7..231e5d32d 100644 --- a/pngwutil.c +++ b/pngwutil.c @@ -470,7 +470,7 @@ png_zlib_compress_init(png_structrp png_ptr, png_zlib_compressp pz) #define png_ptr png_voidcast(png_const_structrp, pz->zs.opaque) #if PNG_RELEASE_BUILD -# define png_zlib_compress_vaidate(pz) ((void)0) +# define png_zlib_compress_validate(pz, in_use) ((void)0) #else /* !RELEASE_BUILD */ static void png_zlib_compress_validate(png_zlib_compressp pz, int in_use)