X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ddabd45b6148976e174ca7487ab283517d8825df..02cecc4dc2c07b3e4b109edf44c4c87a2fed87d9:/src/common/dcsvg.cpp diff --git a/src/common/dcsvg.cpp b/src/common/dcsvg.cpp index 15781af016..daafe55ff6 100644 --- a/src/common/dcsvg.cpp +++ b/src/common/dcsvg.cpp @@ -579,7 +579,7 @@ void wxSVGFileDCImpl::NewGraphics () } sLast.Printf( wxT("stroke-width:%d\" \n transform=\"translate(%.2g %.2g) scale(%.2g %.2g)\">"), - w, (double)m_logicalOriginX, m_logicalOriginY, m_scaleX, m_scaleY ); + w, double(m_logicalOriginX), double(m_logicalOriginY), m_scaleX, m_scaleY ); s = sBrush + sPenCap + sPenJoin + sPenStyle + sLast + newline + sWarn; write(s);