From: Václav Slavík Date: Tue, 8 Jul 2003 12:00:42 +0000 (+0000) Subject: removed gcc warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/67bbb91038b29fca45b0e2003a7dbf6368f2c786 removed gcc warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index 5f785feac9..c8d9cebdc0 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -2320,7 +2320,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string, if(lastWidths[*p]== INT_MIN) { wxLogDebug(wxT("GetTextExtent: undefined width for character '%c' (%d)"), *p,*p); - sum += lastWidths[' ']; /* assume space */ + sum += lastWidths[(unsigned char)' ']; /* assume space */ } else {