]> git.saurik.com Git - wxWidgets.git/commitdiff
signed/unsigned comparison warning fixed
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 3 Jun 2003 23:10:51 +0000 (23:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 3 Jun 2003 23:10:51 +0000 (23:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlcell.cpp

index bb16393f36b81a1a52da279a3e801ade9e590d24..7aca669ec5dbebc2b7db35b790d1ea0298dcb6ed 100644 (file)
@@ -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;