From 23e6123c429a9624eb3dd4984cc3e9ba172023bd Mon Sep 17 00:00:00 2001 From: Jian Xiao <99709935+jianoaix@users.noreply.github.com> Date: Wed, 29 Nov 2023 15:53:42 -0800 Subject: [PATCH] Fix CI failure (#91) --- core/data.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/data.go b/core/data.go index d009a613c5..510bf96e52 100644 --- a/core/data.go +++ b/core/data.go @@ -162,11 +162,11 @@ func (cb Bundles) Serialize() ([][][]byte, error) { } // Returns the size of the bundles in bytes. -func (cb Bundles) Size() int { - size := 0 +func (cb Bundles) Size() int64 { + size := int64(0) for _, bundle := range cb { for _, chunk := range bundle { - size += chunk.Size() + size += int64(chunk.Size()) } } return size