summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--std/wasi/snapshot_preview1.ts2
m---------std/wasi/testdata0
2 files changed, 1 insertions, 1 deletions
diff --git a/std/wasi/snapshot_preview1.ts b/std/wasi/snapshot_preview1.ts
index f62d93a94..dc081a8dc 100644
--- a/std/wasi/snapshot_preview1.ts
+++ b/std/wasi/snapshot_preview1.ts
@@ -915,7 +915,7 @@ export default class Context {
const view = new DataView(this.memory.buffer);
const offset = entry.handle.seekSync(0, Deno.SeekMode.Current);
- view.setBigUint64(offset_out, offset, true);
+ view.setBigUint64(offset_out, BigInt(offset), true);
return ERRNO_SUCCESS;
}),
diff --git a/std/wasi/testdata b/std/wasi/testdata
-Subproject bbdc8e545d2e96aad747b0b20e4cf140690899d
+Subproject c2a9246e011b7be6db826b6bde9f024302473fc