summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/utimes.cc
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-21 16:32:49 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-21 16:32:49 -0800
commit45a8edbd5ae6c836317923dc7d2b5baac9feea98 (patch)
treec8e011c89c1808fe2e520ee41c9bcb2af7911cd0 /test/syscalls/linux/utimes.cc
parentb3405a719cbb33dac2deced192209a5584e5e3d6 (diff)
parent200cf245c4ed43d8e2a37484cdbc36f5fbfa1ac9 (diff)
Merge pull request #1492 from majek:err_typo_in_netstack_tests
PiperOrigin-RevId: 290840370
Diffstat (limited to 'test/syscalls/linux/utimes.cc')
-rw-r--r--test/syscalls/linux/utimes.cc8
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
}};