From 70bae0166cbe2a91663036dd83880ad158a2fea8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 3 Jun 2003 23:10:51 +0000 Subject: [PATCH] signed/unsigned comparison warning fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlcell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html/htmlcell.cpp b/src/html/htmlcell.cpp index bb16393f36..7aca669ec5 100644 --- a/src/html/htmlcell.cpp +++ b/src/html/htmlcell.cpp @@ -372,7 +372,7 @@ void wxHtmlWordCell::Draw(wxDC& dc, int x, int y, txt = m_Word.Mid(part1, part2-part1); dc.DrawText(txt, ofs + x + m_PosX, y + m_PosY); - if ( part2 < m_Word.length() ) + if ( (size_t)part2 < m_Word.length() ) { dc.GetTextExtent(txt, &w, &h); ofs += w; -- 2.45.2