diff options
Diffstat (limited to 'thirdparty/icu4c/common/unicode/ures.h')
-rw-r--r-- | thirdparty/icu4c/common/unicode/ures.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/thirdparty/icu4c/common/unicode/ures.h b/thirdparty/icu4c/common/unicode/ures.h index a6c43f9537..cc25b6e49c 100644 --- a/thirdparty/icu4c/common/unicode/ures.h +++ b/thirdparty/icu4c/common/unicode/ures.h @@ -812,7 +812,7 @@ inline UnicodeString ures_getUnicodeString(const UResourceBundle *resB, UErrorCode* status) { UnicodeString result; int32_t len = 0; - const UChar *r = ures_getString(resB, &len, status); + const char16_t *r = ures_getString(resB, &len, status); if(U_SUCCESS(*status)) { result.setTo(true, r, len); } else { @@ -837,7 +837,7 @@ inline UnicodeString ures_getNextUnicodeString(UResourceBundle *resB, const char ** key, UErrorCode* status) { UnicodeString result; int32_t len = 0; - const UChar* r = ures_getNextString(resB, &len, key, status); + const char16_t* r = ures_getNextString(resB, &len, key, status); if(U_SUCCESS(*status)) { result.setTo(true, r, len); } else { @@ -859,7 +859,7 @@ inline UnicodeString ures_getUnicodeStringByIndex(const UResourceBundle *resB, int32_t indexS, UErrorCode* status) { UnicodeString result; int32_t len = 0; - const UChar* r = ures_getStringByIndex(resB, indexS, &len, status); + const char16_t* r = ures_getStringByIndex(resB, indexS, &len, status); if(U_SUCCESS(*status)) { result.setTo(true, r, len); } else { @@ -882,7 +882,7 @@ inline UnicodeString ures_getUnicodeStringByKey(const UResourceBundle *resB, const char* key, UErrorCode* status) { UnicodeString result; int32_t len = 0; - const UChar* r = ures_getStringByKey(resB, key, &len, status); + const char16_t* r = ures_getStringByKey(resB, key, &len, status); if(U_SUCCESS(*status)) { result.setTo(true, r, len); } else { |