[libpng17] Fixed makepng.c so that it compiles with GCC 5.1.0.

Added contrib/testspngs/: a directory for additional test png files
This commit is contained in:
John Bowler
2015-09-18 16:22:38 -05:00
committed by Glenn Randers-Pehrson
parent f8d3e854cb
commit 38647d4b21
32 changed files with 177 additions and 96 deletions

View File

@@ -55,7 +55,11 @@
* even improve performance on some systems (and degrade it on others.)
*/
#ifndef ZLIB_IO_MAX
# define ZLIB_IO_MAX ((uInt)-1)
# ifdef __COVERITY__
# define ZLIB_IO_MAX ((uInt)255U) /* else COVERITY whines */
# else
# define ZLIB_IO_MAX ((uInt)-1)
# endif /* COVERITY */
#endif
#ifdef PNG_WRITE_SUPPORTED