summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xcf2png.c4
1 files changed, 2 insertions, 2 deletions
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"));