diff --git a/ANNOUNCE b/ANNOUNCE index aa7510f32..855b8c7d4 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -258,6 +258,7 @@ version 1.5.0beta32 [June 26, 2010] Made FIXED and FLOATING options consistent in the APIs they enable and disable. Corrected scripts/options.awk to handle both command line options and options specified in the .dfa files. + Changed char *msg to PNG_CONST char *msg in pngrutil.c Make png_set_sRGB_gAMA_and_cHRM set values using either the fixed or floating point APIs, but not both. diff --git a/CHANGES b/CHANGES index 1dacdbeb2..f6b6731ad 100644 --- a/CHANGES +++ b/CHANGES @@ -2740,6 +2740,7 @@ version 1.5.0beta33 [June 26, 2010] Made FIXED and FLOATING options consistent in the APIs they enable and disable. Corrected scripts/options.awk to handle both command line options and options specified in the .dfa files. + Changed char *msg to PNG_CONST char *msg in pngrutil.c Make png_set_sRGB_gAMA_and_cHRM set values using either the fixed or floating point APIs, but not both. diff --git a/pngrutil.c b/pngrutil.c index c91b1c80f..fdd7ae64a 100644 --- a/pngrutil.c +++ b/pngrutil.c @@ -267,7 +267,7 @@ png_inflate(png_structp png_ptr, const png_byte *data, png_size_t size, * buffer if available. */ { - char *msg; + PNG_CONST char *msg; #ifdef PNG_CONSOLE_IO_SUPPORTED char umsg[52]; #endif