commit | 0934d9f304715ee595244179e294ac45e2acd180 | [log] [tgz] |
---|---|---|
author | Cristy <[email protected]> | Sat Jul 30 08:15:02 2016 -0400 |
committer | Cristy <[email protected]> | Sat Jul 30 08:15:02 2016 -0400 |
tree | a8aa90d7ea35417256fdc286db5cb4c727ec149b | |
parent | 882f417f4a55c55404d0f7239ab42395068047d7 [diff] [blame] |
Eliminate compiler warnings
diff --git a/MagickCore/effect.c b/MagickCore/effect.c index 48a2adf..5a33212 100644 --- a/MagickCore/effect.c +++ b/MagickCore/effect.c
@@ -2942,7 +2942,7 @@ } gamma=0.0; pixel=0.0; - if ((GetPixelChannelTraits(image,AlphaChannel) == UndefinedPixelTrait) || + if ((GetPixelChannelTraits(image,AlphaPixelChannel) == UndefinedPixelTrait) || (channel == AlphaPixelChannel)) { for (j=0; j < (ssize_t) n; j+=(ssize_t) step)