commit | 3f2879bf60397a9fdfd6b80d073a9d21b88fac1e | [log] [tgz] |
---|---|---|
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Thu Jun 23 11:18:32 2016 -0500 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Thu Jun 23 11:26:59 2016 -0500 |
tree | 70f5bd6b385f4545e265480458e5c0cc02a8a809 | |
parent | ee1e535298ca78a8e7407e25044d7ddf563273e4 [diff] [blame] |
[libpng16] Imported from libpng-1.6.24beta02.tar
diff --git a/pngwutil.c b/pngwutil.c index c1751fe..ddac9bf 100644 --- a/pngwutil.c +++ b/pngwutil.c
@@ -2448,7 +2448,7 @@ /* Overflow can occur in the calculation, just select the lowest set * filter. */ - filter_to_do &= -filter_to_do; + filter_to_do &= 0U-filter_to_do; } else if ((filter_to_do & PNG_FILTER_NONE) != 0 && filter_to_do != PNG_FILTER_NONE)