[libpng16] Added a pair of parentheses suggested by clang
This commit is contained in:
parent
5d713fe123
commit
f2d4167fee
@ -1613,8 +1613,8 @@ png_write_png(png_structrp png_ptr, png_inforp info_ptr,
|
|||||||
* RGB, note that the code expects the input color type to be G or RGB; no
|
* RGB, note that the code expects the input color type to be G or RGB; no
|
||||||
* alpha channel.
|
* alpha channel.
|
||||||
*/
|
*/
|
||||||
if (transforms & (PNG_TRANSFORM_STRIP_FILLER_AFTER|
|
if ((transforms & (PNG_TRANSFORM_STRIP_FILLER_AFTER|
|
||||||
PNG_TRANSFORM_STRIP_FILLER_BEFORE) != 0)
|
PNG_TRANSFORM_STRIP_FILLER_BEFORE)) != 0)
|
||||||
{
|
{
|
||||||
#ifdef PNG_WRITE_FILLER_SUPPORTED
|
#ifdef PNG_WRITE_FILLER_SUPPORTED
|
||||||
if ((transforms & PNG_TRANSFORM_STRIP_FILLER_AFTER) != 0)
|
if ((transforms & PNG_TRANSFORM_STRIP_FILLER_AFTER) != 0)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
/* pngwtran.c - transforms the data in a row for PNG writers
|
/* pngwtran.c - transforms the data in a row for PNG writers
|
||||||
*
|
*
|
||||||
* Last changed in libpng 1.6.9 [February 6, 2014]
|
* Last changed in libpng 1.6.15 [(PENDING RELEASE)]
|
||||||
* Copyright (c) 1998-2014 Glenn Randers-Pehrson
|
* Copyright (c) 1998-2014 Glenn Randers-Pehrson
|
||||||
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
||||||
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
|
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
|
||||||
|
Loading…
Reference in New Issue
Block a user