diff options
author | crowlKats <13135287+crowlKats@users.noreply.github.com> | 2021-03-19 01:55:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-18 20:55:31 -0400 |
commit | 197305908b721340041be03e5a11fe60a1711fb2 (patch) | |
tree | 732f63ef3d14c174e0eb5e29414ab57ccc232dbd /runtime/ops/tls.rs | |
parent | 277e19f4d26b66bbba99b0a3d6539b524dc88830 (diff) |
normalize rids (#9832)
Diffstat (limited to 'runtime/ops/tls.rs')
-rw-r--r-- | runtime/ops/tls.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ops/tls.rs b/runtime/ops/tls.rs index 2e6399222..2c0f2df4d 100644 --- a/runtime/ops/tls.rs +++ b/runtime/ops/tls.rs @@ -98,7 +98,7 @@ async fn op_start_tls( args: StartTLSArgs, _zero_copy: BufVec, ) -> Result<Value, AnyError> { - let rid = args.rid as u32; + let rid = args.rid; let mut domain = args.hostname.as_str(); if domain.is_empty() { @@ -350,7 +350,7 @@ fn op_listen_tls( #[derive(Deserialize)] pub struct AcceptTlsArgs { - rid: i32, + rid: u32, } async fn op_accept_tls( @@ -358,7 +358,7 @@ async fn op_accept_tls( args: AcceptTlsArgs, _zero_copy: BufVec, ) -> Result<Value, AnyError> { - let rid = args.rid as u32; + let rid = args.rid; let resource = state .borrow() |