Skip to content

Commit

Permalink
fix: minor fix (maybe related to #3)
Browse files Browse the repository at this point in the history
  • Loading branch information
stergiotis committed Feb 28, 2024
1 parent 4de1cdb commit 58e7c54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/fffi/runtime/marshaller.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ func (inst *Marshaller) WriteComplex128(v complex128) {
inst.WriteFloat64(imag(v))
}
func (inst *Marshaller) writeBuf(n int) {
inst.written += n
_, err := inst.w.Write(inst.buf[:n])
u, err := inst.w.Write(inst.buf[:n])
inst.written += u
inst.handleError(err)
}
func (inst *Marshaller) handleError(err error) {
Expand Down

0 comments on commit 58e7c54

Please sign in to comment.