X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22188d7396b885721afb6214377a88708910b22b..0dd9646ea8b9e6f3a5fa8c42b6a4954cf8e3a48d:/include/wx/unichar.h?ds=sidebyside diff --git a/include/wx/unichar.h b/include/wx/unichar.h index 8503c41992..9d0b593bd7 100644 --- a/include/wx/unichar.h +++ b/include/wx/unichar.h @@ -155,7 +155,7 @@ private: { #if wxUSE_UNICODE if ( c < 0x80 ) - return c; + return wx_truncate_cast(char, c); return ToHi8bit(c); #else