X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d19ce8c49127a8550a784b4d54464c81003a102b..12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67:/src/common/imagpng.cpp diff --git a/src/common/imagpng.cpp b/src/common/imagpng.cpp index 44c21654ec..2ffb924bf9 100644 --- a/src/common/imagpng.cpp +++ b/src/common/imagpng.cpp @@ -538,7 +538,7 @@ wxPNGHandler::LoadFile(wxImage *image, goto error; png_read_info( png_ptr, info_ptr ); - png_get_IHDR( png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, (int*) NULL, (int*) NULL ); + png_get_IHDR( png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, NULL ); if (color_type == PNG_COLOR_TYPE_PALETTE) png_set_expand( png_ptr );