diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-10-29 19:25:49 -0500 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-10-29 19:25:49 -0500 |
commit | 49cf7996e16b0e9b7b2b77e94085d18de21ece1b (patch) | |
tree | 07cf2a09367618d1eefb5b2e49b1b600bcaaba44 /thirdparty/icu4c/common/ustring.cpp | |
parent | 05a4620e88fc454e844f69e87a6eb444426c2a6e (diff) | |
parent | e698870caa3dff7234f0a4433b1751834b9e7811 (diff) | |
download | redot-engine-49cf7996e16b0e9b7b2b77e94085d18de21ece1b.tar.gz |
Merge pull request #98496 from bruvzg/icu761
Update ICU to 76.1
Diffstat (limited to 'thirdparty/icu4c/common/ustring.cpp')
-rw-r--r-- | thirdparty/icu4c/common/ustring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/icu4c/common/ustring.cpp b/thirdparty/icu4c/common/ustring.cpp index 4f7443cc88..8375121e2f 100644 --- a/thirdparty/icu4c/common/ustring.cpp +++ b/thirdparty/icu4c/common/ustring.cpp @@ -1356,7 +1356,7 @@ _charPtr_charAt(int32_t offset, void *context) { char16_t c16; /* It would be more efficient to access the invariant tables * directly but there is no API for that. */ - u_charsToUChars(((char*) context) + offset, &c16, 1); + u_charsToUChars(static_cast<char*>(context) + offset, &c16, 1); return c16; } @@ -1394,7 +1394,7 @@ u_unescape(const char *src, char16_t *dest, int32_t destCapacity) { i += (int32_t)(src - segment); } ++src; /* advance past '\\' */ - c32 = (UChar32)u_unescapeAt(_charPtr_charAt, &lenParsed, (int32_t)uprv_strlen(src), (void*)src); + c32 = u_unescapeAt(_charPtr_charAt, &lenParsed, (int32_t)uprv_strlen(src), const_cast<char*>(src)); if (lenParsed == 0) { goto err; } |