mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
signed/unsigned warning fix (GCC 4.8.5)
Signed-off-by: John Bowler <jbowler@acm.org>
This commit is contained in:
parent
4905ed4aae
commit
52c9e4fdd6
@ -3704,7 +3704,7 @@ png_write_start_IDAT(png_structrp png_ptr)
|
|||||||
{
|
{
|
||||||
# ifdef PNG_SELECT_FILTER_SUPPORTED
|
# ifdef PNG_SELECT_FILTER_SUPPORTED
|
||||||
/* The result depends on the png compression level: */
|
/* The result depends on the png compression level: */
|
||||||
const int png_level = pz_value(png_level, ps->pz_IDAT);
|
const unsigned int png_level = pz_value(png_level, ps->pz_IDAT);
|
||||||
|
|
||||||
/* If the bit depth is less than 8, so pixels are not byte aligned,
|
/* If the bit depth is less than 8, so pixels are not byte aligned,
|
||||||
* PNG filtering hardly ever helps because there is no correlation
|
* PNG filtering hardly ever helps because there is no correlation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user