Skip to content

Commit

Permalink
Fix 32 bit compilation
Browse files Browse the repository at this point in the history
Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull committed Nov 25, 2023
1 parent b114cb7 commit 9a2ca57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/linux_raw/net/syscalls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ pub(crate) unsafe fn recv(
x86_sys(SYS_RECV),
slice_just_addr::<ArgReg<'_, SocketArg>, _>(&[
fd.into(),
buf,
buf.into(),
pass_usize(len),
flags.into(),
])
Expand Down Expand Up @@ -667,7 +667,7 @@ pub(crate) unsafe fn recvfrom(
x86_sys(SYS_RECVFROM),
slice_just_addr::<ArgReg<'_, SocketArg>, _>(&[
fd.into(),
buf,
buf.into(),
pass_usize(len),
flags.into(),
(&mut storage).into(),
Expand Down

0 comments on commit 9a2ca57

Please sign in to comment.