X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0e4b2b0e95c737ac7de5d10cf701ad74e34a124..e86aa7a62cc8be79ffaeb0d07b70161cb9ea2c74:/include/wx/html/htmltag.h diff --git a/include/wx/html/htmltag.h b/include/wx/html/htmltag.h index 4ff2164beb..cde771ae7d 100644 --- a/include/wx/html/htmltag.h +++ b/include/wx/html/htmltag.h @@ -165,9 +165,9 @@ private: #if WXWIN_COMPATIBILITY_2_8 -inline int wxHtmlTag::GetBeginPos() const { return m_Begin - m_sourceStart; } -inline int wxHtmlTag::GetEndPos1() const { return m_End1 - m_sourceStart; } -inline int wxHtmlTag::GetEndPos2() const { return m_End2 - m_sourceStart; } +inline int wxHtmlTag::GetBeginPos() const { return int(m_Begin - m_sourceStart); } +inline int wxHtmlTag::GetEndPos1() const { return int(m_End1 - m_sourceStart); } +inline int wxHtmlTag::GetEndPos2() const { return int(m_End2 - m_sourceStart); } #endif // WXWIN_COMPATIBILITY_2_8