From 59262d90c4983dbb53349f30105e6f1ffcbffb84 Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 5 Dec 2016 15:21:50 -0500 Subject: [PATCH] ... --- PerlMagick/Magick.xs | 2 +- PerlMagick/quantum/quantum.xs.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PerlMagick/Magick.xs b/PerlMagick/Magick.xs index 1eb06624f..66f2d4ff9 100644 --- a/PerlMagick/Magick.xs +++ b/PerlMagick/Magick.xs @@ -1300,7 +1300,7 @@ static void SetAttribute(pTHX_ struct PackageInfo *info,Image *image, break; } for ( ; image; image=image->next) - image->colorspace=(ColorspaceType) sp; + (void) SetImageColorspace(image,(ColorspaceType) sp,exception); break; } if (LocaleCompare(attribute,"comment") == 0) diff --git a/PerlMagick/quantum/quantum.xs.in b/PerlMagick/quantum/quantum.xs.in index 47c930fb4..5f8299410 100644 --- a/PerlMagick/quantum/quantum.xs.in +++ b/PerlMagick/quantum/quantum.xs.in @@ -1300,7 +1300,7 @@ static void SetAttribute(pTHX_ struct PackageInfo *info,Image *image, break; } for ( ; image; image=image->next) - image->colorspace=(ColorspaceType) sp; + (void) SetImageColorspace(image,(ColorspaceType) sp,exception); break; } if (LocaleCompare(attribute,"comment") == 0) -- 2.50.1