$NetBSD$

--- src/sp-image.cpp.orig	2010-07-13 03:48:40.000000000 +0000
+++ src/sp-image.cpp
@@ -388,7 +388,7 @@ static bool readPngAndHeaders( PushPull 
                 {
                     char* name = 0;
                     int compression_type = 0;
-                    char* profile = 0;
+                    png_byte* profile = 0;
                     png_uint_32 proflen = 0;
                     if ( png_get_iCCP(pngPtr, infoPtr, &name, &compression_type, &profile, &proflen) ) {
 //                                         g_message("Found an iCCP chunk named [%s] with %d bytes and comp %d", name, proflen, compression_type);
