[libpng16] Fixed cexcept.h in which GCC 5 now reports that one of the auto

variables in the Try macro needs to be volatile to prevent value
being lost over the setjmp.
This commit is contained in:
John Bowler
2015-06-03 14:46:34 -05:00
committed by Glenn Randers-Pehrson
parent 25bfb13770
commit b780eba4e4
7 changed files with 22 additions and 14 deletions

View File

@@ -71,7 +71,8 @@ png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
case 2:
{
png_bytep sp, dp;
int shift, v;
unsigned int shift;
int v;
png_uint_32 i;
png_uint_32 row_width = row_info->width;
@@ -110,7 +111,8 @@ png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
case 4:
{
png_bytep sp, dp;
int shift, v;
unsigned int shift;
int v;
png_uint_32 i;
png_uint_32 row_width = row_info->width;