From 8d4ce1fed58e96970ba4c30f39ea4a7712abaeaa Mon Sep 17 00:00:00 2001 From: John Bowler Date: Fri, 15 Apr 2011 06:54:30 -0500 Subject: [PATCH] [devel] Fixed 64-bit builds where png_uint_32 is smaller than png_size_t --- pngwutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pngwutil.c b/pngwutil.c index 6545a8f3a..0c37e786f 100644 --- a/pngwutil.c +++ b/pngwutil.c @@ -466,7 +466,7 @@ png_write_compressed_data_out(png_structp png_ptr, compression_state *comp) { unsigned int z_cinfo; unsigned int half_z_window_size; - png_uint_32 uncompressed_idat_size = comp->input_len; + png_size_t uncompressed_idat_size = comp->input_len; z_cinfo = z_cmf >> 4; half_z_window_size = 1 << (z_cinfo + 7);