Gerald Pfeifer gerald@pfeifer.com writes:
Current snapshots of GCC 4.8.0 issue a warning about some of the new code in windowscodecs/pngformat.c:
pngformat.c: In function 'PngDecoder_Frame_GetColorContexts': pngformat.c:882:5: warning: passing argument 5 of 'ppng_get_iCCP' from incompatible pointer type [enabled by default] if (ppng_get_iCCP(This->png_ptr, This->info_ptr, &name, &compression_type,&profile, &len)) pngformat.c:882:5: note: expected 'png_bytepp' but argument is of type 'char **'
The patch below addresses this.
That will break on older libpng.