mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
fix(std/wasi): invalid number to bigint conversion in fd_tell (#7215)
This commit is contained in:
parent
992248e731
commit
672350b206
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}),
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit bbdc8e545d2e96aad747b0b20e4cf140690899d4
|
||||
Subproject commit c2a9246e011b7be6db826b6bde9f024302473fc4
|
Loading…
Add table
Reference in a new issue