$OpenBSD: patch-third_party_WebKit_Source_platform_image-decoders_png_PNGImageDecoder_cpp,v 1.1 2016/05/27 06:28:21 robert Exp $
--- third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp.orig.port	Thu May 26 14:26:49 2016
+++ third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp	Thu May 26 14:35:45 2016
@@ -234,7 +234,7 @@ void PNGImageDecoder::headerAvailable()
 #endif
             png_uint_32 profileLength = 0;
             if (png_get_iCCP(png, info, &profileName, &compressionType, &profile, &profileLength)) {
-                setColorProfileAndTransform(profile, profileLength, imageHasAlpha, false /* useSRGB */);
+                setColorProfileAndTransform(reinterpret_cast<const char *>(profile), profileLength, imageHasAlpha, false /* useSRGB */);
             }
         }
 #endif // PNG_iCCP_SUPPORTED
