diff options
| author | Ralf Jung <post@ralfj.de> | 2020-11-19 10:09:40 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-11-20 00:23:05 +0100 |
| commit | d8d763da86e6fcc7736920a7659256eb0b37cefb (patch) | |
| tree | f482da71ec53cff39027d5318f4e89f2d749bd01 | |
| parent | bf469eb6c20ccea05400a1942c70343f36705e1c (diff) | |
| download | rust-d8d763da86e6fcc7736920a7659256eb0b37cefb.tar.gz rust-d8d763da86e6fcc7736920a7659256eb0b37cefb.zip | |
unix/weak: pass arguments to syscall at the given type
| -rw-r--r-- | library/std/src/sys/unix/weak.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/weak.rs b/library/std/src/sys/unix/weak.rs index 53d95dca4cd..e93a4972caa 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 } } |
