summaryrefslogtreecommitdiff
path: root/runtime/ops/process.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ops/process.rs')
-rw-r--r--runtime/ops/process.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs
index c9715039b..bea4708f7 100644
--- a/runtime/ops/process.rs
+++ b/runtime/ops/process.rs
@@ -178,7 +178,7 @@ fn op_run(
#[derive(Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct RunStatusArgs {
- rid: i32,
+ rid: u32,
}
async fn op_run_status(
@@ -186,7 +186,7 @@ async fn op_run_status(
args: RunStatusArgs,
_zero_copy: BufVec,
) -> Result<Value, AnyError> {
- let rid = args.rid as u32;
+ let rid = args.rid;
{
let s = state.borrow();