diff options
author | dimumurray <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) |
commit | e6812822187e2423281d6485d9f074adee848ba5 (patch) | |
tree | ef7d30984882ac6d1ea341bbf58dc0b9731f0561 | |
parent | 2c4d3fc794566a6898976905d093ab253a2c0cd0 (diff) | |
download | xcftools-e6812822187e2423281d6485d9f074adee848ba5.zip xcftools-e6812822187e2423281d6485d9f074adee848ba5.tar.gz xcftools-e6812822187e2423281d6485d9f074adee848ba5.tar.bz2 |
Updated xcf2png.c
Replaced deprecated typecasted definitions with 'NULL'.
-rw-r--r-- | xcf2png.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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")); |