fix several mingw32 warnings (patch from Tim Stahlhut)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-10-02 11:36:35 +00:00
parent b152d8c56c
commit f5851311d3
5 changed files with 11 additions and 8 deletions

View File

@@ -936,9 +936,9 @@ wxCRT_StrtoullBase(const T* nptr, T** endptr, int base, T* sign)
unsigned int n;
T c = *i;
if ( c >= wxT('0') )
if ( c >= '0' )
{
if ( c <= wxT('9') )
if ( c <= '9' )
n = c - wxT('0');
else
n = wxTolower(c) - wxT('a') + 10;