From c2c37fa65a7998a47bc2ca8dc6366787d18b89d7 Mon Sep 17 00:00:00 2001 From: Christian Ege Date: Sat, 23 Dec 2023 09:24:20 +0100 Subject: [PATCH] refactor: chunk Size() returns int This is more inline with the callers Signed-off-by: Christian Ege --- pkg/chunk/chunk.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/chunk/chunk.go b/pkg/chunk/chunk.go index 1efc276..e8cb697 100644 --- a/pkg/chunk/chunk.go +++ b/pkg/chunk/chunk.go @@ -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 {