[devel] Changed char *msg to PNG_CONST char *msg in pngrutil.c

This commit is contained in:
Glenn Randers-Pehrson 2010-06-26 12:33:17 -05:00
parent 82980f31d9
commit 6cac43c974
3 changed files with 3 additions and 1 deletions

View File

@ -258,6 +258,7 @@ version 1.5.0beta32 [June 26, 2010]
Made FIXED and FLOATING options consistent in the APIs they enable and Made FIXED and FLOATING options consistent in the APIs they enable and
disable. Corrected scripts/options.awk to handle both command line disable. Corrected scripts/options.awk to handle both command line
options and options specified in the .dfa files. 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 Make png_set_sRGB_gAMA_and_cHRM set values using either the fixed or
floating point APIs, but not both. floating point APIs, but not both.

View File

@ -2740,6 +2740,7 @@ version 1.5.0beta33 [June 26, 2010]
Made FIXED and FLOATING options consistent in the APIs they enable and Made FIXED and FLOATING options consistent in the APIs they enable and
disable. Corrected scripts/options.awk to handle both command line disable. Corrected scripts/options.awk to handle both command line
options and options specified in the .dfa files. 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 Make png_set_sRGB_gAMA_and_cHRM set values using either the fixed or
floating point APIs, but not both. floating point APIs, but not both.

View File

@ -267,7 +267,7 @@ png_inflate(png_structp png_ptr, const png_byte *data, png_size_t size,
* buffer if available. * buffer if available.
*/ */
{ {
char *msg; PNG_CONST char *msg;
#ifdef PNG_CONSOLE_IO_SUPPORTED #ifdef PNG_CONSOLE_IO_SUPPORTED
char umsg[52]; char umsg[52];
#endif #endif