diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2013-05-12 12:01:18 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2013-05-12 18:34:58 -0500 |
commit | bc92887b2d4852ea0631ad5daa78b32c406b7743 (patch) | |
tree | 31c11465dac2f7d0e9d4414fb985381f6f5e9a50 /pngrutil.c | |
parent | ae8174d9a35605148e9b5ddcc02e4608d8739a65 (diff) | |
download | libpng-bc92887b2d4852ea0631ad5daa78b32c406b7743.tar.gz |
[libpng15] Imported from libpng-1.5.16beta06.tarv1.5.16beta06
Diffstat (limited to 'pngrutil.c')
-rw-r--r-- | pngrutil.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pngrutil.c b/pngrutil.c index 5ee452d57..844c6d8b0 100644 --- a/pngrutil.c +++ b/pngrutil.c @@ -1,7 +1,7 @@ /* pngrutil.c - utilities to read a PNG file * - * Last changed in libpng 1.5.14 [January 24, 2013] + * Last changed in libpng 1.5.15 [March 28, 2013] * Copyright (c) 1998-2013 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) @@ -18,8 +18,6 @@ #ifdef PNG_READ_SUPPORTED -#define png_strtod(p,a,b) strtod(a,b) - png_uint_32 PNGAPI png_get_uint_31(png_structp png_ptr, png_const_bytep buf) { @@ -3161,7 +3159,7 @@ png_combine_row(png_structp png_ptr, png_bytep dp, int display) { png_uint_32p dp32 = (png_uint_32p)dp; png_const_uint_32p sp32 = (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 @@ -3202,7 +3200,7 @@ png_combine_row(png_structp png_ptr, png_bytep dp, int display) { png_uint_16p dp16 = (png_uint_16p)dp; png_const_uint_16p sp16 = (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 |