patch-modules_libpr0n_decoders_nsPNGDecoder_cpp 568 B

123456789101112
  1. --- mozilla-2.0.orig/modules/libpr0n/decoders/nsPNGDecoder.cpp 2011-03-19 00:34:02.000000000 +0100
  2. +++ mozilla-2.0/modules/libpr0n/decoders/nsPNGDecoder.cpp 2011-03-27 22:30:41.783370593 +0200
  3. @@ -386,7 +386,8 @@ PNGGetColorProfile(png_structp png_ptr,
  4. // First try to see if iCCP chunk is present
  5. if (png_get_valid(png_ptr, info_ptr, PNG_INFO_iCCP)) {
  6. png_uint_32 profileLen;
  7. - char *profileData, *profileName;
  8. + png_byte *profileData;
  9. + char *profileName;
  10. int compression;
  11. png_get_iCCP(png_ptr, info_ptr, &profileName, &compression,