]> git.saurik.com Git - wxWidgets.git/commitdiff
gcc signed/unsigned warning fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Mar 2007 15:01:59 +0000 (15:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Mar 2007 15:01:59 +0000 (15:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/dcbase.cpp

index cca78bab3236015c064155367568f52bd9808106..9cffc3896ac0dcd6d2fedcf9833759173f38cd6e 100644 (file)
@@ -653,7 +653,7 @@ void wxDCBase::DrawLabel(const wxString& text,
         }
         else // not end of line
         {
-            if ( pc - text.begin() == indexAccel )
+            if ( pc - text.begin() == (size_t)indexAccel )
             {
                 // remeber to draw underscore here
                 GetTextExtent(curLine, &startUnderscore, NULL);