summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/uvector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/uvector.cpp')
-rw-r--r--thirdparty/icu4c/common/uvector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/icu4c/common/uvector.cpp b/thirdparty/icu4c/common/uvector.cpp
index f93d73a3c6..85c322cea7 100644
--- a/thirdparty/icu4c/common/uvector.cpp
+++ b/thirdparty/icu4c/common/uvector.cpp
@@ -183,7 +183,7 @@ void UVector::insertElementAt(int32_t elem, int32_t index, UErrorCode &status) {
}
void* UVector::elementAt(int32_t index) const {
- return (0 <= index && index < count) ? elements[index].pointer : 0;
+ return (0 <= index && index < count) ? elements[index].pointer : nullptr;
}
int32_t UVector::elementAti(int32_t index) const {