[devel] Fixed 64-bit builds where png_uint_32 is smaller than png_size_t
This commit is contained in:
parent
7abc130a81
commit
8d4ce1fed5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user