X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4fdc2c5f2a4dd7f1394e374095b1cd3a34dfaa1b..2028c33ab5a39a12bd410ac953731a56ad6377ba:/src/richtext/richtexthtml.cpp diff --git a/src/richtext/richtexthtml.cpp b/src/richtext/richtexthtml.cpp index 6079da35c5..6af5ab0ae5 100644 --- a/src/richtext/richtexthtml.cpp +++ b/src/richtext/richtexthtml.cpp @@ -322,7 +322,7 @@ void wxRichTextHTMLHandler::BeginParagraphFormatting(const wxTextAttr& WXUNUSED( str << wxT(">"); // TODO: convert to pixels - int indentPixels = indentLeftMM*10/4; + int indentPixels = static_cast(indentLeftMM*10/4); if ((GetFlags() & wxRICHTEXT_HANDLER_USE_CSS) == 0) {