summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/uscript.cpp
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-10-29 19:25:49 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-10-29 19:25:49 -0500
commit49cf7996e16b0e9b7b2b77e94085d18de21ece1b (patch)
tree07cf2a09367618d1eefb5b2e49b1b600bcaaba44 /thirdparty/icu4c/common/uscript.cpp
parent05a4620e88fc454e844f69e87a6eb444426c2a6e (diff)
parente698870caa3dff7234f0a4433b1751834b9e7811 (diff)
downloadredot-engine-49cf7996e16b0e9b7b2b77e94085d18de21ece1b.tar.gz
Merge pull request #98496 from bruvzg/icu761
Update ICU to 76.1
Diffstat (limited to 'thirdparty/icu4c/common/uscript.cpp')
-rw-r--r--thirdparty/icu4c/common/uscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/icu4c/common/uscript.cpp b/thirdparty/icu4c/common/uscript.cpp
index 2e9012a982..c48a28fd14 100644
--- a/thirdparty/icu4c/common/uscript.cpp
+++ b/thirdparty/icu4c/common/uscript.cpp
@@ -74,7 +74,7 @@ getCodesFromLocale(const char *locale,
}
// Explicit script code.
if (!script.isEmpty()) {
- UScriptCode scriptCode = (UScriptCode)u_getPropertyValueEnum(UCHAR_SCRIPT, script.data());
+ UScriptCode scriptCode = static_cast<UScriptCode>(u_getPropertyValueEnum(UCHAR_SCRIPT, script.data()));
if(scriptCode != USCRIPT_INVALID_CODE) {
if(scriptCode == USCRIPT_SIMPLIFIED_HAN || scriptCode == USCRIPT_TRADITIONAL_HAN) {
scriptCode = USCRIPT_HAN;