summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/icudataver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/icudataver.cpp')
-rw-r--r--thirdparty/icu4c/common/icudataver.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/thirdparty/icu4c/common/icudataver.cpp b/thirdparty/icu4c/common/icudataver.cpp
index d314411374..809d080512 100644
--- a/thirdparty/icu4c/common/icudataver.cpp
+++ b/thirdparty/icu4c/common/icudataver.cpp
@@ -15,14 +15,14 @@
#include "uresimp.h" /* for ures_getVersionByKey */
U_CAPI void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status) {
- UResourceBundle *icudatares = NULL;
+ UResourceBundle *icudatares = nullptr;
if (U_FAILURE(*status)) {
return;
}
- if (dataVersionFillin != NULL) {
- icudatares = ures_openDirect(NULL, U_ICU_VERSION_BUNDLE , status);
+ if (dataVersionFillin != nullptr) {
+ icudatares = ures_openDirect(nullptr, U_ICU_VERSION_BUNDLE , status);
if (U_SUCCESS(*status)) {
ures_getVersionByKey(icudatares, U_ICU_DATA_KEY, dataVersionFillin, status);
}