fix PIChar
This commit is contained in:
@@ -347,7 +347,7 @@ PIChar PIChar::toUpper() const {
|
||||
return PIChar(wc);
|
||||
# endif
|
||||
#endif
|
||||
return PIChar(towupper(ch));
|
||||
return PIChar((ushort)towupper(ch));
|
||||
}
|
||||
|
||||
|
||||
@@ -365,7 +365,7 @@ PIChar PIChar::toLower() const {
|
||||
return PIChar(wc);
|
||||
# endif
|
||||
#endif
|
||||
return PIChar(towlower(ch));
|
||||
return PIChar((ushort)towlower(ch));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -126,8 +126,8 @@ public:
|
||||
|
||||
const wchar_t * toWCharPtr() const;
|
||||
|
||||
//! \~english Returns as <tt>"char * "</tt> string
|
||||
//! \~russian Возвращает символ как указатель на <tt>"char * "</tt>
|
||||
//! \~english Returns as `char *` string
|
||||
//! \~russian Возвращает символ как указатель на `char *`
|
||||
const char * toCharPtr() const;
|
||||
|
||||
wchar_t toWChar() const;
|
||||
|
||||
Reference in New Issue
Block a user