]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 18 Aug 2018 18:11:37 +0000 (14:11 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 18 Aug 2018 18:11:37 +0000 (14:11 -0400)
MagickCore/color.c

index 6666bf8c1ccb9bf050f6ae43d2a2961ac48b4cdd..fa617ba737de917bd33ea4ca14e57045fa718c4d 100644 (file)
@@ -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;
     }