From 197305908b721340041be03e5a11fe60a1711fb2 Mon Sep 17 00:00:00 2001 From: crowlKats <13135287+crowlKats@users.noreply.github.com> Date: Fri, 19 Mar 2021 01:55:31 +0100 Subject: normalize rids (#9832) --- runtime/ops/net_unix.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/ops/net_unix.rs') diff --git a/runtime/ops/net_unix.rs b/runtime/ops/net_unix.rs index c3e561568..6d9afb70f 100644 --- a/runtime/ops/net_unix.rs +++ b/runtime/ops/net_unix.rs @@ -65,7 +65,7 @@ pub(crate) async fn accept_unix( args: AcceptArgs, _bufs: BufVec, ) -> Result { - let rid = args.rid as u32; + let rid = args.rid; let resource = state .borrow() @@ -104,7 +104,7 @@ pub(crate) async fn receive_unix_packet( ) -> Result { assert_eq!(bufs.len(), 1, "Invalid number of arguments"); - let rid = args.rid as u32; + let rid = args.rid; let mut buf = bufs.into_iter().next().unwrap(); let resource = state -- cgit v1.2.3