summaryrefslogtreecommitdiffstats
path: root/xcf2png.c
diff options
context:
space:
mode:
authorj-jorge <julien.jorge@gamned.org>2015-01-27 10:26:45 (EST)
committer j-jorge <julien.jorge@gamned.org>2015-01-27 10:26:45 (EST)
commit196f51790bbaff594525935adeab1247bb798946 (patch)
treeef7d30984882ac6d1ea341bbf58dc0b9731f0561 /xcf2png.c
parent2c4d3fc794566a6898976905d093ab253a2c0cd0 (diff)
parente6812822187e2423281d6485d9f074adee848ba5 (diff)
downloadxcftools-196f51790bbaff594525935adeab1247bb798946.zip
xcftools-196f51790bbaff594525935adeab1247bb798946.tar.gz
xcftools-196f51790bbaff594525935adeab1247bb798946.tar.bz2
Merge pull request #3 from dimumurray/master
Updated xcf2png.c. Thanks dimumurray.
Diffstat (limited to 'xcf2png.c')
-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"));