summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/ulocbuilder.cpp
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2024-10-24 22:09:23 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2024-10-24 22:47:59 +0300
commite698870caa3dff7234f0a4433b1751834b9e7811 (patch)
tree6f0d0ca10498223b051f5e04f9a1087147cf3c87 /thirdparty/icu4c/common/ulocbuilder.cpp
parent1015a481ff43edb1126ab39a147fefda290131e5 (diff)
downloadredot-engine-e698870caa3dff7234f0a4433b1751834b9e7811.tar.gz
Update ICU to 76.1
Diffstat (limited to 'thirdparty/icu4c/common/ulocbuilder.cpp')
-rw-r--r--thirdparty/icu4c/common/ulocbuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/icu4c/common/ulocbuilder.cpp b/thirdparty/icu4c/common/ulocbuilder.cpp
index 3b46647362..b8b6ce8c18 100644
--- a/thirdparty/icu4c/common/ulocbuilder.cpp
+++ b/thirdparty/icu4c/common/ulocbuilder.cpp
@@ -119,7 +119,7 @@ int32_t ulocbld_buildLocaleID(ULocaleBuilder* builder,
}
icu::Locale l = INTERNAL(builder)->build(*err);
if (U_FAILURE(*err)) { return 0; }
- int32_t length = (int32_t)(uprv_strlen(l.getName()));
+ int32_t length = static_cast<int32_t>(uprv_strlen(l.getName()));
if (0 < length && length <= bufferCapacity) {
uprv_memcpy(buffer, l.getName(), length);
}