[libpng15] Ported libpng-1.6.3beta06/contrib/pngminus/pnm2png.c changes

to use unsigned long, not png_uint_32 arguments to sscanf().
This commit is contained in:
Glenn Randers-Pehrson
2013-05-12 12:09:48 -05:00
parent 1087026c09
commit a3bece6bb7
3 changed files with 41 additions and 19 deletions

View File

@@ -4099,11 +4099,13 @@ Version 1.5.16beta05 [May 9, 2013]
Initialize dimension values so if sscanf fails at least we have known
invalid values.
Version 1.5.16beta06 [May 10, 2013]
Version 1.5.16beta06 [May 12, 2013]
Allow contrib/pnminus/pnm2png.c to compile without WRITE_INVERT and WRITE_PACK
supported (writes error message that it can't read P1 or P4 PBM files).
Revised contrib/pngminim/*/makefile to separate CPPFLAGS and CPFLAGS, and
to generate pnglibconf.h with the right zlib header files.
Ported contrib/pngminus/pnm2png.c changes back from libpng-1.6.3beta06,
to use unsigned long, not png_uint_32 arguments to sscanf().
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit