Skip to content

Commit

Permalink
fix resize not updating data
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Mar 18, 2024
1 parent 30a156e commit 0a6056e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flow/pua/flatbuffers_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func (b *Builder) Prep(width uint8, additional int) {
newdata = newdata[:cap(newdata)]
copy(newdata[:oldlen], newdata[len(newdata)-oldlen:])
b.head += len(newdata) - oldlen
b.ba.data = newdata
}

b.Pad(alignsize)
Expand Down

0 comments on commit 0a6056e

Please sign in to comment.