]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 19 May 2018 13:20:00 +0000 (09:20 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 19 May 2018 13:20:00 +0000 (09:20 -0400)
PerlMagick/quantum/quantum.xs.in

index a5fd5c7c873afa463edc07bcc12d233543bc6c10..151ed71e084996e754f1de1bdf156b8583e5bf2b 100644 (file)
@@ -4836,7 +4836,7 @@ Get(ref,...)
                     *sv;
 
                   sv=NULL;
-                  if (image->channels & WriteMaskChannel) == 0)
+                  if ((image->channels & WriteMaskChannel) == 0)
                     (void) ClipImage(image,exception);
                   mask_image=GetImageMask(image,ReadPixelMask,exception);
                   if (mask_image != (Image *) NULL)
@@ -4859,7 +4859,7 @@ Get(ref,...)
                     *sv;
 
                   sv=NULL;
-                  if (image->channels & WriteMaskChannel) == 0)
+                  if ((image->channels & WriteMaskChannel) == 0)
                     (void) ClipImage(image,exception);
                   mask_image=GetImageMask(image,ReadPixelMask,exception);
                   if (mask_image != (Image *) NULL)