Skip to content

Commit

Permalink
refactor: chunk Size() returns int
Browse files Browse the repository at this point in the history
This is more inline with the callers

Signed-off-by: Christian Ege <[email protected]>
  • Loading branch information
graugans committed Dec 23, 2023
1 parent 154c520 commit c2c37fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/chunk/chunk.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ func (c *ChunkData) Type() ChunkType {
return c.chunkType
}

func (c *ChunkData) Size() uint32 {
return c.chunkSize
func (c *ChunkData) Size() int {
return int(c.chunkSize)
}

func (c *ChunkData) FrameCount() uint32 {
Expand Down

0 comments on commit c2c37fa

Please sign in to comment.