| Index: xfa/fgas/localization/fgas_datetime.cpp
|
| diff --git a/xfa/fgas/localization/fgas_datetime.cpp b/xfa/fgas/localization/fgas_datetime.cpp
|
| index f3c560b823da64d4d91b65bb08f7722c7932acef..f658d3597d8ffd42df66dd7ffb985b8c7ebb6952 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);
|
|
|