[libpng16] Made fixes for new optimization warnings from gcc 4.7.0.

The compiler performs an optimization which is safe; however it then warns
about it.  Changing the type of 'palette_number' in pngvalid.c removes the
warning.
This commit is contained in:
Glenn Randers-Pehrson
2012-06-03 19:17:48 -05:00
parent 1935d0738f
commit ff7b7ba060
3 changed files with 23 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
Libpng 1.6.0beta23 - May 29, 2012
Libpng 1.6.0beta23 - June 4, 2012
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.
@@ -369,8 +369,11 @@ Version 1.6.0beta22 [May 23, 2012]
introducing new png_aligncast macros to do the cast in a way that clang
accepts.
Version 1.6.0beta23 [May 29, 2012]
Version 1.6.0beta23 [June 4, 2012]
Revised CMakeLists.txt to not attempt to make a symlink under mingw.
Made fixes for new optimization warnings from gcc 4.7.0. The compiler
performs an optimization which is safe; however it then warns about it.
Changing the type of 'palette_number' in pngvalid.c removes the warning.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit