From e6812822187e2423281d6485d9f074adee848ba5 Mon Sep 17 00:00:00 2001 From: dimumurray Date: Sat, 24 Jan 2015 15:56:43 -0500 Subject: Updated xcf2png.c Replaced deprecated typecasted definitions with 'NULL'. --- diff --git a/xcf2png.c b/xcf2png.c index 01c66f1..e8b5c1a 100644 --- a/xcf2png.c +++ b/xcf2png.c @@ -71,9 +71,9 @@ init_output(void) outfile = openout(flatspec.output_filename); libpng = png_create_write_struct(PNG_LIBPNG_VER_STRING, - png_voidp_NULL, + NULL, my_error_callback, - png_error_ptr_NULL); + NULL); if( !libpng ) FatalUnexpected(_("Couldn't initialize libpng library")); -- cgit v0.9.1