From f20e35607ce5eaf70500b8f89c8e728c8040eb21 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 14 Feb 2016 09:08:15 -0500 Subject: [PATCH] Fix PerlMagick compile error --- PerlMagick/Magick.xs | 6 +++--- PerlMagick/quantum/quantum.xs.in | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PerlMagick/Magick.xs b/PerlMagick/Magick.xs index b81cf4de5..225249266 100644 --- a/PerlMagick/Magick.xs +++ b/PerlMagick/Magick.xs @@ -11314,10 +11314,10 @@ Mogrify(ref,...) PixelInfo color; - (void) QueryMagickColor("none",&color,exception); + (void) QueryColorCompliance("none",AllCompliance,&color,exception); if (attribute_flag[0] != 0) - (void) QueryMagickColor(argument_list[0].string_reference, - &color,exception); + (void) QueryColorCompliance(argument_list[0].string_reference, + AllCompliance,&color,exception); (void) SetImageColor(image,&color,exception); break; } diff --git a/PerlMagick/quantum/quantum.xs.in b/PerlMagick/quantum/quantum.xs.in index 32154789d..b7b866d64 100644 --- a/PerlMagick/quantum/quantum.xs.in +++ b/PerlMagick/quantum/quantum.xs.in @@ -11314,10 +11314,10 @@ Mogrify(ref,...) PixelInfo color; - (void) QueryMagickColor("none",&color,exception); + (void) QueryColorCompliance("none",AllCompliance,&color,exception); if (attribute_flag[0] != 0) - (void) QueryMagickColor(argument_list[0].string_reference, - &color,exception); + (void) QueryColorCompliance(argument_list[0].string_reference, + AllCompliance,&color,exception); (void) SetImageColor(image,&color,exception); break; } -- 2.49.0