X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad4a907bb77c5ca10aa02ab8474caa8b92d78c0c..d89b7c194d77ae14dcdb113ac4ffe79f5515b4ca:/src/html/m_image.cpp diff --git a/src/html/m_image.cpp b/src/html/m_image.cpp index fcccbd11a3..423ecf7bf5 100644 --- a/src/html/m_image.cpp +++ b/src/html/m_image.cpp @@ -534,11 +534,11 @@ void wxHtmlImageCell::Layout(int w) if (!m_bmpHpresent && m_bitmap != NULL) m_Height = m_bitmap->GetHeight()*m_Width/m_bitmap->GetWidth(); else - m_Height = m_scale*m_bmpH; + m_Height = static_cast(m_scale*m_bmpH); } else { - m_Width = m_scale*m_bmpW; - m_Height = m_scale*m_bmpH; + m_Width = static_cast(m_scale*m_bmpW); + m_Height = static_cast(m_scale*m_bmpH); } switch (m_align)