From ccc78d58ed0e158ed4ddfc63ebd376cb119ae383 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Fri, 26 Aug 2022 05:27:10 -0700 Subject: [PATCH] Internal change. PiperOrigin-RevId: 470223256 --- test/syscalls/linux/fcntl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/syscalls/linux/fcntl.cc b/test/syscalls/linux/fcntl.cc index 8ab87e5e9..ac4dd4899 100644 --- a/test/syscalls/linux/fcntl.cc +++ b/test/syscalls/linux/fcntl.cc @@ -1249,7 +1249,7 @@ TEST(FcntlTest, SetOwnExInvalidType) { Socket(AF_UNIX, SOCK_SEQPACKET | SOCK_NONBLOCK | SOCK_CLOEXEC, 0)); f_owner_ex owner = {}; - owner.type = __pid_type(-1); + owner.type = static_cast(-1); EXPECT_THAT(syscall(__NR_fcntl, s.get(), F_SETOWN_EX, &owner), SyscallFailsWithErrno(EINVAL)); }