提交 8d4ce1fe 编写于 作者: J John Bowler 提交者: Glenn Randers-Pehrson

[devel] Fixed 64-bit builds where png_uint_32 is smaller than png_size_t

上级 7abc130a
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册