From 9daaea285475649c7788911a93b803b18a7e109c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 9 Apr 2007 12:21:51 +0000 Subject: [PATCH] undid signed/unsigned warning fix of rev 1.73 as the type of wxString::iterator::operator-() is now signed again git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dcbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index ecc6e00e4c..b17d055a63 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -689,7 +689,7 @@ void wxDCBase::DrawLabel(const wxString& text, } else // not end of line { - if ( pc - text.begin() == (size_t)indexAccel ) + if ( pc - text.begin() == indexAccel ) { // remeber to draw underscore here GetTextExtent(curLine, &startUnderscore, NULL);