diff options
Diffstat (limited to 'openjdkjvmti/ti_timers.cc')
-rw-r--r-- | openjdkjvmti/ti_timers.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openjdkjvmti/ti_timers.cc b/openjdkjvmti/ti_timers.cc index 24fb0419ee..11b58c452e 100644 --- a/openjdkjvmti/ti_timers.cc +++ b/openjdkjvmti/ti_timers.cc @@ -83,7 +83,7 @@ jvmtiError TimerUtil::GetTime(jvmtiEnv* env ATTRIBUTE_UNUSED, jlong* nanos_ptr) // No CLOCK_MONOTONIC support on older Mac OS. struct timeval t; t.tv_sec = t.tv_usec = 0; - gettimeofday(&t, NULL); + gettimeofday(&t, nullptr); *nanos_ptr = static_cast<jlong>(t.tv_sec)*1000000000LL + static_cast<jlong>(t.tv_usec)*1000LL; #endif |