From: Vadim Zeitlin Date: Sat, 17 Mar 2007 15:01:59 +0000 (+0000) Subject: gcc signed/unsigned warning fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/badea317077a1bddca31b76cbd855f0cd3ed4fb5?ds=inline gcc signed/unsigned warning fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index cca78bab32..9cffc3896a 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -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);