[libpng16] Removed new unnecessary typecast in pngrutil.c
This commit is contained in:
parent
268c7bf68b
commit
15e69748f1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user