summaryrefslogtreecommitdiff
path: root/xfa/fgas/localization/fgas_datetime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fgas/localization/fgas_datetime.cpp')
-rw-r--r--xfa/fgas/localization/fgas_datetime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fgas/localization/fgas_datetime.cpp b/xfa/fgas/localization/fgas_datetime.cpp
index f3c560b823..f658d3597d 100644
--- a/xfa/fgas/localization/fgas_datetime.cpp
+++ b/xfa/fgas/localization/fgas_datetime.cpp
@@ -142,7 +142,7 @@ void CFX_Unitime::Now() {
#elif _FX_OS_ != _FX_EMBEDDED_
#if 1
timeval curTime;
- gettimeofday(&curTime, NULL);
+ gettimeofday(&curTime, nullptr);
#else
struct timespec curTime;
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &curTime);
@@ -170,7 +170,7 @@ void CFX_Unitime::SetGMTime() {
#elif _FX_OS_ != _FX_EMBEDDED_
#if 1
timeval curTime;
- gettimeofday(&curTime, NULL);
+ gettimeofday(&curTime, nullptr);
#else
struct timespec curTime;
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &curTime);