aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/icu/common/localematcher.cpp
diff options
context:
space:
mode:
authorromankoshelev <romankoshelev@yandex-team.com>2024-11-13 19:25:49 +0300
committerromankoshelev <romankoshelev@yandex-team.com>2024-11-13 19:36:21 +0300
commit593d804b3cb5202c629726e873c66ce3eb20b1a7 (patch)
tree7beea96c7a5b0e0ecfa532385d7279079fc4a63b /contrib/libs/icu/common/localematcher.cpp
parent4ab23311f7a6d45ac318179569df9ba46fb9ab68 (diff)
downloadydb-593d804b3cb5202c629726e873c66ce3eb20b1a7.tar.gz
Update ICU to 76.1
commit_hash:908cd3760bb1e3e7ffecef62acf9b632d8ca31a4
Diffstat (limited to 'contrib/libs/icu/common/localematcher.cpp')
-rw-r--r--contrib/libs/icu/common/localematcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libs/icu/common/localematcher.cpp b/contrib/libs/icu/common/localematcher.cpp
index 8aae596bc8..1e74dd1f14 100644
--- a/contrib/libs/icu/common/localematcher.cpp
+++ b/contrib/libs/icu/common/localematcher.cpp
@@ -780,7 +780,7 @@ int32_t acceptLanguage(UEnumeration &supportedLocales, Locale::Iterator &desired
ULOC_ACCEPT_VALID : ULOC_ACCEPT_FALLBACK;
}
const char *bestStr = result.getSupportedLocale()->getName();
- int32_t bestLength = (int32_t)uprv_strlen(bestStr);
+ int32_t bestLength = static_cast<int32_t>(uprv_strlen(bestStr));
if (bestLength <= capacity) {
uprv_memcpy(dest, bestStr, bestLength);
}