[libpng16] Eliminated a warning from the Intel C compiler. The warning is

technically valid, although a reasonable treatment of division would
show it to be incorrect.
This commit is contained in:
John Bowler 2013-03-10 21:35:35 -05:00 committed by Glenn Randers-Pehrson
parent 3c8b422b0a
commit 2286a7cef4
3 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.6.1beta09 - March 7, 2013
Libpng 1.6.1beta09 - March 11, 2013
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.
@ -106,7 +106,10 @@ Version 1.6.1beta08 [March 7, 2013]
determined and used as the link target.
Use copy_if_different in the CREATE_SYMLINK macro.
Version 1.6.1beta09 [March 7, 2013]
Version 1.6.1beta09 [March 11, 2013]
Eliminated a warning from the Intel C compiler. The warning is
technically valid, although a reasonable treatment of division would
show it to be incorrect.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -4462,7 +4462,10 @@ Version 1.6.1beta08 [March 7, 2013]
determined and used as the link target.
Use copy_if_different in the CREATE_SYMLINK macro.
Version 1.6.1beta09 [March 7, 2013]
Version 1.6.1beta09 [March 11, 2013]
Eliminated a warning from the Intel C compiler. The warning is
technically valid, although a reasonable treatment of division would
show it to be incorrect.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -3355,7 +3355,7 @@ png_combine_row(png_const_structrp png_ptr, png_bytep dp, int display)
png_uint_32p dp32 = png_aligncast(png_uint_32p,dp);
png_const_uint_32p sp32 = png_aligncastconst(
png_const_uint_32p, sp);
unsigned int skip = (bytes_to_jump-bytes_to_copy) /
size_t skip = (bytes_to_jump-bytes_to_copy) /
(sizeof (png_uint_32));
do