diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2010-09-10 22:05:27 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2010-09-10 22:05:27 -0500 |
commit | bcb3aac3c5c517aed6ec88253e717210318423cc (patch) | |
tree | a4ababe5a4629a616c86157d4c4a741cfcd3d64c /pngwio.c | |
parent | 9a5c1c180fa2f6fa76bb7940c05a657e0af64dbc (diff) | |
download | libpng-bcb3aac3c5c517aed6ec88253e717210318423cc.tar.gz |
[devel] Fixed a number of problems with 64-bit compilation reported by Visual
Studio 2010 (John Bowler).
Diffstat (limited to 'pngwio.c')
-rw-r--r-- | pngwio.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* pngwio.c - functions for data output * - * Last changed in libpng 1.5.0 [August 28, 2010] + * Last changed in libpng 1.5.0 [September 11, 2010] * Copyright (c) 1998-2010 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.) @@ -50,7 +50,7 @@ png_write_data(png_structp png_ptr, png_const_bytep data, png_size_t length) void PNGCBAPI png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) { - png_uint_32 check; + png_size_t check; if (png_ptr == NULL) return; |