[libpng16] Revised contrib/pngminus/pnm2png.c to avoid warnings

when png_uint_32 and unsigned long are of different sizes.
This commit is contained in:
Glenn Randers-Pehrson
2011-12-29 10:24:50 -06:00
parent 0522f269e0
commit 04ab33560f
4 changed files with 43 additions and 20 deletions

View File

@@ -95,11 +95,14 @@ Version 1.6.0beta04 [December 29, 2011]
location in configure.ac (Gilles Espinasse).
Changed png_memcpy to C assignment where appropriate. Changed all those
uses of png_memcpy that were doing a simple assignment to assignments
(all those cases where the thing being copied is a non-array C L-value.)
Added some error checking to png_set_*() routines and removed the
reference to the non-exported function png_memcpy() from example.c. Fixed
the Visual C 64-bit build - it requires jmp_buf to be aligned, but it had
become misaligned.
(all those cases where the thing being copied is a non-array C L-value).
Added some error checking to png_set_*() routines.
Removed the reference to the non-exported function png_memcpy() from
example.c.
Fixed the Visual C 64-bit build - it requires jmp_buf to be aligned, but
it had become misaligned.
Revised contrib/pngminus/pnm2png.c to avoid warnings when png_uint_32
and unsigned long are of different sizes.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit