From 6cac43c974806cf5823eccc754f42d68b4a55b42 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sat, 26 Jun 2010 12:33:17 -0500 Subject: [PATCH] [devel] Changed char *msg to PNG_CONST char *msg in pngrutil.c --- ANNOUNCE | 1 + CHANGES | 1 + pngrutil.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) 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