15 Dec
2012
15 Dec
'12
3:46 p.m.
Gerald Pfeifer <gerald(a)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. -- Alexandre Julliard julliard(a)winehq.org