diff options
-rw-r--r-- | bench/ffi/deno.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/ffi/deno.js b/bench/ffi/deno.js index 1882d7fd2..ae971a344 100644 --- a/bench/ffi/deno.js +++ b/bench/ffi/deno.js @@ -18,7 +18,7 @@ const bytes = new Uint8Array(64); group("deno:ffi", () => { bench("noop", () => ffi_noop()); - bench("hash", () => ffi_hash(bytes, bytes.byteLength)); + bench("hash", () => ffi_hash(Deno.UnsafePointer.of(bytes), bytes.byteLength)); bench("c string", () => new Deno.UnsafePointerView(ffi_string()).getCString() ); |