summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/servlkf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/servlkf.cpp')
-rw-r--r--thirdparty/icu4c/common/servlkf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/icu4c/common/servlkf.cpp b/thirdparty/icu4c/common/servlkf.cpp
index f5bb0418c4..7ca5e7adc9 100644
--- a/thirdparty/icu4c/common/servlkf.cpp
+++ b/thirdparty/icu4c/common/servlkf.cpp
@@ -76,7 +76,7 @@ LocaleKeyFactory::updateVisibleIDs(Hashtable& result, UErrorCode& status) const
const UHashElement* elem = nullptr;
int32_t pos = UHASH_FIRST;
while ((elem = supported->nextElement(pos)) != nullptr) {
- const UnicodeString& id = *((const UnicodeString*)elem->key.pointer);
+ const UnicodeString& id = *static_cast<const UnicodeString*>(elem->key.pointer);
if (!visible) {
result.remove(id);
} else {