From: cristy Date: Wed, 2 Nov 2011 19:17:04 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6698 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17a10208a7f2faf38cbf93f6d822ff7aa31b12b2;p=imagemagick --- diff --git a/MagickCore/fx.c b/MagickCore/fx.c index af004125d..1d76ff8b3 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -2633,7 +2633,7 @@ static MagickRealType FxEvaluateSubexpression(FxInfo *fx_info, { alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+5,beta, exception); - return((MagickRealType) !!isnan(alpha)); + return((MagickRealType) !!isnan((double) alpha)); } if (LocaleCompare(expression,"i") == 0) return(FxGetSymbol(fx_info,channel,x,y,expression,exception));