[libpng17] Suppressed some warnings from the Borland C++ 5.5.1/5.82 compiler

(Bug report by Viktor Szaka'ts).
This commit is contained in:
Glenn Randers-Pehrson
2015-04-04 08:45:34 -05:00
parent 673ae608ab
commit 7a35bcac1a
8 changed files with 25 additions and 13 deletions

View File

@@ -683,7 +683,7 @@ png_do_check_palette_indexes(png_structrp png_ptr,
*/
for (; rp > png_ptr->row_buf; rp--)
{
if (*rp >> padding != 0)
if ((*rp >> padding) != 0)
png_ptr->num_palette_max = 1;
padding = 0;
}