[libpng16] Imported from libpng-1.6.24beta02.tar

This commit is contained in:
Glenn Randers-Pehrson
2016-06-23 11:18:32 -05:00
parent ee1e535298
commit 3f2879bf60
34 changed files with 149 additions and 134 deletions

View File

@@ -2448,7 +2448,7 @@ png_write_find_filter(png_structrp png_ptr, png_row_infop row_info)
/* 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)