From: cristy Date: Tue, 26 Aug 2014 11:26:30 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2068 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd33da05dee0ec32f4fa18f1c00421c48fcb6765;p=imagemagick --- diff --git a/MagickWand/drawing-wand.c b/MagickWand/drawing-wand.c index 2581c86dc..91fec61c8 100644 --- a/MagickWand/drawing-wand.c +++ b/MagickWand/drawing-wand.c @@ -2539,7 +2539,7 @@ WandExport char *DrawGetVectorGraphics(DrawingWand *wand) if (child != (XMLTreeInfo *) NULL) { (void) FormatLocaleString(value,MaxTextExtent,"%.20g", - (double) QuantumScale*CurrentContext->fill.alpha); + (double) (QuantumScale*CurrentContext->fill.alpha)); (void) SetXMLTreeContent(child,value); } child=AddChildToXMLTree(xml_info,"fill-rule",0); @@ -2660,7 +2660,7 @@ WandExport char *DrawGetVectorGraphics(DrawingWand *wand) if (child != (XMLTreeInfo *) NULL) { (void) FormatLocaleString(value,MaxTextExtent,"%.20g", - (double) QuantumScale*CurrentContext->stroke.alpha); + (double) (QuantumScale*CurrentContext->stroke.alpha)); (void) SetXMLTreeContent(child,value); } child=AddChildToXMLTree(xml_info,"stroke-width",0);