gcc signed/unsigned warning fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-03-17 15:01:59 +00:00
parent 67393addd8
commit badea31707

View 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);