diff options
Diffstat (limited to 'core/runtime.rs')
-rw-r--r-- | core/runtime.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime.rs b/core/runtime.rs index 3d37b13fa..a95ca0ca6 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -2116,7 +2116,7 @@ impl JsRuntime { let (promise_id, op_id, mut resp) = item; state.unrefed_ops.remove(&promise_id); state.op_state.borrow().tracker.track_async_completed(op_id); - args.push(v8::Integer::new(scope, promise_id as i32).into()); + args.push(v8::Integer::new(scope, promise_id).into()); args.push(match resp.to_v8(scope) { Ok(v) => v, Err(e) => OpResult::Err(OpError::new(&|_| "TypeError", e.into())) |