summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordimumurray <dimumurray@users.noreply.github.com>2015-01-24 15:56:43 (EST)
committer dimumurray <dimumurray@users.noreply.github.com>2015-01-24 15:56:43 (EST)
commite6812822187e2423281d6485d9f074adee848ba5 (patch)
treeef7d30984882ac6d1ea341bbf58dc0b9731f0561
parent2c4d3fc794566a6898976905d093ab253a2c0cd0 (diff)
downloadxcftools-e6812822187e2423281d6485d9f074adee848ba5.zip
xcftools-e6812822187e2423281d6485d9f074adee848ba5.tar.gz
xcftools-e6812822187e2423281d6485d9f074adee848ba5.tar.bz2
Updated xcf2png.c
Replaced deprecated typecasted definitions with 'NULL'.
-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"));