X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3af5821cf964398265547e23341e50cb6f55c081..a7c26d107d0c6f191e55d30613f4816e9c2f9386:/src/common/encconv.cpp?ds=sidebyside diff --git a/src/common/encconv.cpp b/src/common/encconv.cpp index e3327c909a..68a6a6d4eb 100644 --- a/src/common/encconv.cpp +++ b/src/common/encconv.cpp @@ -25,7 +25,7 @@ #include // conversion tables, generated by scripts in $(WXWIN)/misc/unictabl: -#ifdef __BORLANDC__ +#if defined( __BORLANDC__ ) || defined(__DARWIN__) #include "../common/unictabl.inc" #else #include "unictabl.inc" @@ -71,7 +71,7 @@ static wxUint16* LINKAGEMODE GetEncTable(wxFontEncoding enc) 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,