diff options
Diffstat (limited to 'test/syscalls/linux/utimes.cc')
-rw-r--r-- | test/syscalls/linux/utimes.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/syscalls/linux/utimes.cc b/test/syscalls/linux/utimes.cc index 12b925a51..e7bae9c07 100644 --- a/test/syscalls/linux/utimes.cc +++ b/test/syscalls/linux/utimes.cc @@ -164,10 +164,10 @@ TEST(FutimesatTest, InvalidNsec) { auto f = ASSERT_NO_ERRNO_AND_VALUE(TempPath::CreateFile()); struct timeval times[4][2] = {{ {0, 1}, // Valid - {1, static_cast<int64_t>(1e7)} // Invalid + {1, static_cast<int64>(1e7)} // Invalid }, { - {1, static_cast<int64_t>(1e7)}, // Invalid + {1, static_cast<int64>(1e7)}, // Invalid {0, 1} // Valid }, { @@ -290,10 +290,10 @@ TEST(UtimensatTest, InvalidNsec) { auto f = ASSERT_NO_ERRNO_AND_VALUE(TempPath::CreateFile()); struct timespec times[2][2] = {{ {0, UTIME_OMIT}, // Valid - {2, static_cast<int64_t>(1e10)} // Invalid + {2, static_cast<int64>(1e10)} // Invalid }, { - {2, static_cast<int64_t>(1e10)}, // Invalid + {2, static_cast<int64>(1e10)}, // Invalid {0, UTIME_OMIT} // Valid }}; |