From: cristy Date: Fri, 4 May 2012 10:27:41 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5668 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4629809b34ee17010acac1d4a77468ef809668f8;p=imagemagick --- diff --git a/MagickCore/channel.c b/MagickCore/channel.c index 173b6892b..6f5f9b190 100644 --- a/MagickCore/channel.c +++ b/MagickCore/channel.c @@ -239,7 +239,7 @@ MagickExport Image *ChannelFxImage(const Image *image,const char *expression, if (destination_image == (Image *) NULL) return((Image *) NULL); if (IsGrayColorspace(image->colorspace) != MagickFalse) - (void) TransformImageColorspace(image,sRGBColorspace,exception); + (void) TransformImageColorspace((Image *) image,sRGBColorspace,exception); if (expression == (const char *) NULL) return(destination_image); destination_channel=RedPixelChannel;