summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/bytestream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/bytestream.cpp')
-rw-r--r--thirdparty/icu4c/common/bytestream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/icu4c/common/bytestream.cpp b/thirdparty/icu4c/common/bytestream.cpp
index c14f206dfe..bd870cd3b2 100644
--- a/thirdparty/icu4c/common/bytestream.cpp
+++ b/thirdparty/icu4c/common/bytestream.cpp
@@ -20,7 +20,7 @@ char* ByteSink::GetAppendBuffer(int32_t min_capacity,
int32_t* result_capacity) {
if (min_capacity < 1 || scratch_capacity < min_capacity) {
*result_capacity = 0;
- return NULL;
+ return nullptr;
}
*result_capacity = scratch_capacity;
return scratch;
@@ -70,7 +70,7 @@ char* CheckedArrayByteSink::GetAppendBuffer(int32_t min_capacity,
int32_t* result_capacity) {
if (min_capacity < 1 || scratch_capacity < min_capacity) {
*result_capacity = 0;
- return NULL;
+ return nullptr;
}
int32_t available = capacity_ - size_;
if (available >= min_capacity) {