correct to int32 for range comparison

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2004-11-08 00:34:51 +00:00
parent 27cfdc97a4
commit 79c78d4284

View File

@@ -510,7 +510,7 @@ size_t wxMBConvUTF7::WC2MB(char *buf, const wchar_t
len++;
}
#ifndef WC_UTF16
else if (((wxUint16)cc) > 0xffff)
else if (((wxUint32)cc) > 0xffff)
{
// no surrogate pair generation (yet?)
return (size_t)-1;