diff options
Diffstat (limited to 'thirdparty/icu4c/common/util_props.cpp')
-rw-r--r-- | thirdparty/icu4c/common/util_props.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/thirdparty/icu4c/common/util_props.cpp b/thirdparty/icu4c/common/util_props.cpp index d6ae052214..5991769d06 100644 --- a/thirdparty/icu4c/common/util_props.cpp +++ b/thirdparty/icu4c/common/util_props.cpp @@ -91,8 +91,8 @@ int32_t ICU_Utility::parsePattern(const UnicodeString& rule, int32_t pos, int32_ int32_t p; int32_t intCount = 0; // number of integers parsed for (int32_t i=0; i<pattern.length(); ++i) { - UChar cpat = pattern.charAt(i); - UChar c; + char16_t cpat = pattern.charAt(i); + char16_t c; switch (cpat) { case 32 /*' '*/: if (pos >= limit) { @@ -120,7 +120,7 @@ int32_t ICU_Utility::parsePattern(const UnicodeString& rule, int32_t pos, int32_ if (pos >= limit) { return -1; } - c = (UChar) u_tolower(rule.charAt(pos++)); + c = (char16_t) u_tolower(rule.charAt(pos++)); if (c != cpat) { return -1; } |