From 28504f18175b27a474e076bc7f07ae70cd9798e7 Mon Sep 17 00:00:00 2001 From: Sandboxed API Team Date: Mon, 15 Aug 2022 22:55:16 -0700 Subject: [PATCH] Make code not have a -Warray-parameter warning. PiperOrigin-RevId: 467842322 Change-Id: Ic262a3f98fa823ef524ac02d08b2f5b8f4adf71d --- sandboxed_api/sandbox2/syscall_defs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sandboxed_api/sandbox2/syscall_defs.h b/sandboxed_api/sandbox2/syscall_defs.h index 5a16d2f..a5e7fc3 100644 --- a/sandboxed_api/sandbox2/syscall_defs.h +++ b/sandboxed_api/sandbox2/syscall_defs.h @@ -30,8 +30,9 @@ class SyscallTable { absl::string_view GetName(int syscall) const; - std::vector GetArgumentsDescription( - int syscall, const uint64_t values[syscalls::kMaxArgs], pid_t pid) const; + std::vector GetArgumentsDescription(int syscall, + const uint64_t values[], + pid_t pid) const; private: constexpr SyscallTable() = default;