[libpng17] Eliminated two warnings from the Intel C compiler.

This commit is contained in:
John Bowler
2013-03-13 09:50:48 -05:00
committed by Glenn Randers-Pehrson
parent 55794013d4
commit 30bc0333fe
3 changed files with 11 additions and 5 deletions

View File

@@ -3334,7 +3334,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
@@ -3376,7 +3376,7 @@ png_combine_row(png_const_structrp png_ptr, png_bytep dp, int display)
png_uint_16p dp16 = png_aligncast(png_uint_16p, dp);
png_const_uint_16p sp16 = png_aligncastconst(
png_const_uint_16p, sp);
unsigned int skip = (bytes_to_jump-bytes_to_copy) /
size_t skip = (bytes_to_jump-bytes_to_copy) /
(sizeof (png_uint_16));
do