X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/706b88074de0c288b81edac13094dd052b6cc078..a236aa2058ccf3d36e9cafc20fa7375080c4be50:/src/png/pngrutil.c diff --git a/src/png/pngrutil.c b/src/png/pngrutil.c index ce522198b1..b61664aa6c 100644 --- a/src/png/pngrutil.c +++ b/src/png/pngrutil.c @@ -279,13 +279,13 @@ png_decompress_chunk(png_structp png_ptr, int comp_type, if (ret == Z_BUF_ERROR) sprintf(umsg,"Buffer error in compressed datastream in %s chunk", - png_ptr->chunk_name); + (char *)png_ptr->chunk_name); else if (ret == Z_DATA_ERROR) sprintf(umsg,"Data error in compressed datastream in %s chunk", - png_ptr->chunk_name); + (char *)png_ptr->chunk_name); else sprintf(umsg,"Incomplete compressed datastream in %s chunk", - png_ptr->chunk_name); + (char *)png_ptr->chunk_name); png_warning(png_ptr, umsg); #else png_warning(png_ptr,