X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22188d7396b885721afb6214377a88708910b22b..d8359d3ca077993d3ef61d6c09000ce7beeb577b:/include/wx/unichar.h 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