[libpng16] Fix typecast in pngtrans.c

This commit is contained in:
Glenn Randers-Pehrson 2017-09-04 18:23:06 -05:00
parent 9050c32365
commit 52a566af97

View File

@ -609,7 +609,7 @@ png_do_strip_channel(png_row_infop row_info, png_bytep row, int at_start)
return; /* The filler channel has gone already */ return; /* The filler channel has gone already */
/* Fix the rowbytes value. */ /* Fix the rowbytes value. */
row_info->rowbytes = (unsigned int)(dp-row); row_info->rowbytes = (png_size_t)(dp-row);
} }
#endif #endif