--- Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp.libpng15 2011-03-21 19:43:07.000000000 +0100
+++ Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp 2011-04-24 17:58:34.849856493 +0200
@@ -228,7 +228,7 @@
int compressionType;
char* profile;
png_uint_32 profileLength;
- if (png_get_iCCP(png, info, &profileName, &compressionType, &profile, &profileLength)) {
+ if (png_get_iCCP(png, info, &profileName, &compressionType, (png_bytepp) &profile, &profileLength)) {
ColorProfile colorProfile;
colorProfile.append(profile, profileLength);
return colorProfile;