From d8d763da86e6fcc7736920a7659256eb0b37cefb Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Thu, 19 Nov 2020 10:09:40 +0100 Subject: [PATCH] unix/weak: pass arguments to syscall at the given type --- library/std/src/sys/unix/weak.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/sys/unix/weak.rs b/library/std/src/sys/unix/weak.rs index 53d95dca4cd82..e93a4972caa3e 100644 --- a/library/std/src/sys/unix/weak.rs +++ b/library/std/src/sys/unix/weak.rs @@ -135,7 +135,7 @@ macro_rules! syscall { } else { syscall( concat_idents!(SYS_, $name), - $($arg_name as c_long),* + $($arg_name),* ) as $ret } }