[master] Added some "(long)" typecasts to printf calls in png_handle_cHRM().

This commit is contained in:
Glenn Randers-Pehrson 2010-04-16 09:41:27 -05:00
parent 47045ce402
commit 2a243fc074
3 changed files with 18 additions and 10 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.4.2rc02 - April 16, 2010
Libpng 1.4.2rc03 - April 16, 2010
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
@ -9,20 +9,20 @@ Files available for download:
Source files with LF line endings (for Unix/Linux) and with a
"configure" script
1.4.2rc02.tar.xz (LZMA-compressed, recommended)
1.4.2rc02.tar.gz
1.4.2rc02.tar.bz2
1.4.2rc03.tar.xz (LZMA-compressed, recommended)
1.4.2rc03.tar.gz
1.4.2rc03.tar.bz2
Source files with CRLF line endings (for Windows), without the
"configure" script
lp142r02.zip
lp142r02.7z
lp142r03.zip
lp142r03.7z
Other information:
1.4.2rc02-README.txt
1.4.2rc02-LICENSE.txt
1.4.2rc03-README.txt
1.4.2rc03-LICENSE.txt
Changes since the last public release (1.4.1):
@ -40,6 +40,9 @@ version 1.4.2rc02 [April 16, 2010]
the PNG_DITHER_[RED,GREEN_BLUE]_BITS macros to
PNG_QUANTIZE_[RED,GREEN,BLUE]_BITS.
version 1.4.2rc03 [April 16, 2010]
Added some "(long)" typecasts to printf calls in png_handle_cHRM().
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement

View File

@ -2551,6 +2551,9 @@ version 1.4.2rc02 [April 16, 2010]
the PNG_DITHER_[RED,GREEN_BLUE]_BITS macros to
PNG_QUANTIZE_[RED,GREEN,BLUE]_BITS.
version 1.4.2rc03 [April 16, 2010]
Added some "(long)" typecasts to printf calls in png_handle_cHRM().
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement

View File

@ -894,9 +894,11 @@ png_handle_cHRM(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
green_x, green_y, blue_x, blue_y);
#else
fprintf(stderr, "wx=%ld, wy=%ld, rx=%ld, ry=%ld\n",
int_x_white, int_y_white, int_x_red, int_y_red);
(long)int_x_white, (long)int_y_white,
(long)int_x_red, (long)int_y_red);
fprintf(stderr, "gx=%ld, gy=%ld, bx=%ld, by=%ld\n",
int_x_green, int_y_green, int_x_blue, int_y_blue);
(long)int_x_green, (long)int_y_green,
(long)int_x_blue, (long)int_y_blue);
#endif
#endif /* PNG_CONSOLE_IO_SUPPORTED */
}