From: Cristy Date: Sat, 18 Aug 2018 18:11:37 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-11~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4132c3c727a940db402af90ef4daa3cd5b0e62f;p=imagemagick ... --- diff --git a/MagickCore/color.c b/MagickCore/color.c index 6666bf8c1..fa617ba73 100644 --- a/MagickCore/color.c +++ b/MagickCore/color.c @@ -1199,7 +1199,7 @@ MagickExport void ConcatenateColorComponent(const PixelInfo *pixel, if (channel == AlphaPixelChannel) { (void) FormatLocaleString(component,MagickPathExtent,"%.*g", - GetMagickPrecision(),QuantumScale*ClampToQuantum(color)); + GetMagickPrecision(),(double) QuantumScale*ClampToQuantum(color)); (void) ConcatenateMagickString(tuple,component,MagickPathExtent); return; }