summaryrefslogtreecommitdiff
path: root/core/runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/runtime.rs')
-rw-r--r--core/runtime.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/runtime.rs b/core/runtime.rs
index 787bac972..bfb4c45cc 100644
--- a/core/runtime.rs
+++ b/core/runtime.rs
@@ -793,8 +793,8 @@ impl JsRuntime {
true => op,
false => OpDecl {
v8_fn_ptr: match op.is_async {
- true => op_void_async::v8_fn_ptr(),
- false => op_void_sync::v8_fn_ptr(),
+ true => op_void_async::v8_fn_ptr as _,
+ false => op_void_sync::v8_fn_ptr as _,
},
..op
},