diff --git a/ANNOUNCE b/ANNOUNCE index 58fab0f3f..0314bb3d2 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,5 +1,5 @@ -Libpng 1.7.0beta06 - March 7, 2013 +Libpng 1.7.0beta06 - March 13, 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. @@ -208,7 +208,7 @@ Version 1.7.0beta05 [March 5, 2013] pnglibconf.h is reversed to allow settings to depend on options and options can now set (or override) the defaults for settings. -Version 1.7.0beta06 [March 7, 2013] +Version 1.7.0beta06 [March 13, 2013] Corrected simplified API default gamma for color-mapped output, added a flag to change default. In 1.6.0 when the simplified API was used to produce color-mapped output from an input image with no gamma @@ -232,6 +232,9 @@ Version 1.7.0beta06 [March 7, 2013] first argument. When symlinking the filename component of that path is determined and used as the link target. Use copy_if_different in the CREATE_SYMLINK macro. + Eliminated two warnings from the Intel C compiler. The warnings are + 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 diff --git a/CHANGES b/CHANGES index 277559a83..241319041 100644 --- a/CHANGES +++ b/CHANGES @@ -4495,7 +4495,7 @@ Version 1.7.0beta05 [March 5, 2013] pnglibconf.h is reversed to allow settings to depend on options and options can now set (or override) the defaults for settings. -Version 1.7.0beta06 [March 7, 2013] +Version 1.7.0beta06 [March 13, 2013] Corrected simplified API default gamma for color-mapped output, added a flag to change default. In 1.6.0 when the simplified API was used to produce color-mapped output from an input image with no gamma @@ -4519,6 +4519,9 @@ Version 1.7.0beta06 [March 7, 2013] first argument. When symlinking the filename component of that path is determined and used as the link target. Use copy_if_different in the CREATE_SYMLINK macro. + Eliminated two warnings from the Intel C compiler. The warnings are + 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 diff --git a/pngrutil.c b/pngrutil.c index 9a01999cd..7bbeef273 100644 --- a/pngrutil.c +++ b/pngrutil.c @@ -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