fix PIChar

This commit is contained in:
Andrey
2022-03-25 12:35:02 +03:00
parent 7a0adf5e28
commit 8bb1af8d2a
2 changed files with 4 additions and 4 deletions

View File

@@ -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));
}