summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/uarrsort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/uarrsort.cpp')
-rw-r--r--thirdparty/icu4c/common/uarrsort.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/icu4c/common/uarrsort.cpp b/thirdparty/icu4c/common/uarrsort.cpp
index 17b6964ffe..f9daa4b30f 100644
--- a/thirdparty/icu4c/common/uarrsort.cpp
+++ b/thirdparty/icu4c/common/uarrsort.cpp
@@ -256,10 +256,10 @@ U_CAPI void U_EXPORT2
uprv_sortArray(void *array, int32_t length, int32_t itemSize,
UComparator *cmp, const void *context,
UBool sortStable, UErrorCode *pErrorCode) {
- if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
+ if(pErrorCode==nullptr || U_FAILURE(*pErrorCode)) {
return;
}
- if((length>0 && array==NULL) || length<0 || itemSize<=0 || cmp==NULL) {
+ if((length>0 && array==nullptr) || length<0 || itemSize<=0 || cmp==nullptr) {
*pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
return;
}