提交 15e69748 编写于 作者: G Glenn Randers-Pehrson

[libpng16] Removed new unnecessary typecast in pngrutil.c

上级 268c7bf6
......@@ -88,7 +88,7 @@ png_get_int_32)(png_const_bytep buf)
if ((uval & 0x80000000UL) == 0) /* non-negative */
return uval;
uval = (uval ^ (png_uint_32)0xffffffffUL) + 1; /* 2's complement: -x = ~x+1 */
uval = (uval ^ 0xffffffffU) + 1; /* 2's complement: -x = ~x+1 */
return -(png_int_32)uval;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册