From c9a50345f5c2ae73ccb11431da3db450687f4315 Mon Sep 17 00:00:00 2001 From: Paul Rogers Date: Tue, 23 Jan 2024 11:12:33 -0500 Subject: [PATCH] Lint --- pkg/storage/bloom/v1/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/storage/bloom/v1/builder.go b/pkg/storage/bloom/v1/builder.go index 88853a77132d..aa6d6ffe7fe1 100644 --- a/pkg/storage/bloom/v1/builder.go +++ b/pkg/storage/bloom/v1/builder.go @@ -99,7 +99,7 @@ func writeInt32(h hash.Hash32, value int32) { func writeUInt64(h hash.Hash32, value uint64) { // Convert int32 to little-endian byte slice bytes := make([]byte, 8) - binary.BigEndian.PutUint64(bytes, uint64(value)) + binary.BigEndian.PutUint64(bytes, value) h.Write(bytes) }