Modernize codebase by replacing NULL with nullptr
Fixes -Wzero-as-null-pointer-constant warning.
Test: m
Bug: 68236239
Change-Id: I5b4123bc6709641315120a191e36cc57541349b2
diff --git a/tests/sys_time_test.cpp b/tests/sys_time_test.cpp
index e041ba0..b3ec161 100644
--- a/tests/sys_time_test.cpp
+++ b/tests/sys_time_test.cpp
@@ -134,9 +134,9 @@
TEST(sys_time, gettimeofday) {
// Try to ensure that our vdso gettimeofday is working.
timeval tv1;
- ASSERT_EQ(0, gettimeofday(&tv1, NULL));
+ ASSERT_EQ(0, gettimeofday(&tv1, nullptr));
timeval tv2;
- ASSERT_EQ(0, syscall(__NR_gettimeofday, &tv2, NULL));
+ ASSERT_EQ(0, syscall(__NR_gettimeofday, &tv2, nullptr));
// What's the difference between the two?
tv2.tv_sec -= tv1.tv_sec;