Skip to content

Commit

Permalink
Convert index data time to rostime
Browse files Browse the repository at this point in the history
  • Loading branch information
klane authored Nov 7, 2024
1 parent 4628267 commit 3cf9039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func (b *Writer) writeIndexData(indexData IndexData) error {
data := make([]byte, 12*len(indexData.Data))
offset := 0
for _, entry := range indexData.Data {
offset += putU64(data[offset:], entry.Time)
offset += putRostime(data[offset:], entry.Time)
offset += putU32(data[offset:], entry.Offset)
}

Expand Down

0 comments on commit 3cf9039

Please sign in to comment.