summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/udata.cpp
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2024-05-14 11:41:19 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2024-05-14 12:38:52 +0300
commite74fea2864db7f8300da2a0569343b51666ecf4c (patch)
tree840169dd389ac4918f6be6f3906729a9052c9fcb /thirdparty/icu4c/common/udata.cpp
parent557f63d03796db78255f055b6d06cb5f9195ff7e (diff)
downloadredot-engine-e74fea2864db7f8300da2a0569343b51666ecf4c.tar.gz
Update ICU to 75.1
Diffstat (limited to 'thirdparty/icu4c/common/udata.cpp')
-rw-r--r--thirdparty/icu4c/common/udata.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/thirdparty/icu4c/common/udata.cpp b/thirdparty/icu4c/common/udata.cpp
index 88126fc689..4c2ba57303 100644
--- a/thirdparty/icu4c/common/udata.cpp
+++ b/thirdparty/icu4c/common/udata.cpp
@@ -850,12 +850,12 @@ static UBool extendICUData(UErrorCode *pErr)
UDataMemory_init(&copyPData);
if(pData != nullptr) {
UDatamemory_assign(&copyPData, pData);
- copyPData.map = 0; /* The mapping for this data is owned by the hash table */
- copyPData.mapAddr = 0; /* which will unmap it when ICU is shut down. */
- /* CommonICUData is also unmapped when ICU is shut down.*/
- /* To avoid unmapping the data twice, zero out the map */
- /* fields in the UDataMemory that we're assigning */
- /* to CommonICUData. */
+ copyPData.map = nullptr; /* The mapping for this data is owned by the hash table */
+ copyPData.mapAddr = nullptr; /* which will unmap it when ICU is shut down. */
+ /* CommonICUData is also unmapped when ICU is shut down.*/
+ /* To avoid unmapping the data twice, zero out the map */
+ /* fields in the UDataMemory that we're assigning */
+ /* to CommonICUData. */
didUpdate = /* no longer using this result */
setCommonICUData(&copyPData,/* The new common data. */