summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/udata.cpp
diff options
context:
space:
mode:
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. */