Skip to content

Commit

Permalink
fix: newTimeout should be read as Uint64 (#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
agparadiso authored Jan 9, 2025
1 parent 2ebd63b commit c2007b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/workflows/wasm/host/wasip1.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func pollOneoff(caller *wasmtime.Caller, subscriptionptr int32, eventsptr int32,
// - 8-16: timeout
// - 16-24: precision
// - 24-32: flag
newTimeout := binary.LittleEndian.Uint16(argBuf[8:16])
newTimeout := binary.LittleEndian.Uint64(argBuf[8:16])
flag := binary.LittleEndian.Uint16(argBuf[24:32])

var errno Errno
Expand Down

0 comments on commit c2007b3

Please sign in to comment.