]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed a "comparison is always false" warning
authorRobin Dunn <robin@alldunn.com>
Fri, 23 Jan 2004 02:44:42 +0000 (02:44 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 23 Jan 2004 02:44:42 +0000 (02:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/encconv.cpp

index e3327c909a317f18a071e3f4bcbd2fdc838878fe..8977d08f19ab32f8d27d338ab09db2f62d9bdb4f 100644 (file)
@@ -71,7 +71,7 @@ static wxUint16* LINKAGEMODE GetEncTable(wxFontEncoding enc)
            char s[2] ;
            s[1] = 0 ;
            ByteCount byteInLen, byteOutLen ;
            char s[2] ;
            s[1] = 0 ;
            ByteCount byteInLen, byteOutLen ;
-           for( char c = 255 ; c >= 128 ; --c )
+           for( unsigned char c = 255 ; c >= 128 ; --c )
            {
                s[0] = c ;
                 status = TECConvertText(converter, (ConstTextPtr) &s , 1, &byteInLen,
            {
                s[0] = c ;
                 status = TECConvertText(converter, (ConstTextPtr) &s , 1, &byteInLen,