From: cristy Date: Fri, 9 Mar 2012 00:57:52 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6060 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41db174aa6c3972ed6f5f34fb06d470adb702982;p=imagemagick --- diff --git a/MagickCore/channel.c b/MagickCore/channel.c index 40c8aa6a5..723cd9d3e 100644 --- a/MagickCore/channel.c +++ b/MagickCore/channel.c @@ -329,7 +329,7 @@ MagickExport Image *ChannelFxImage(const Image *image,const char *expression, { case AssignChannelOp: { - pixel=StringToDouble(token,(char **) NULL); + pixel=StringToDoubleInterval(token,(double) QuantumRange+1.0); GetMagickToken(p,&p,token); break; }