From ac18c1b49511b1473e3ad8e02dd67ebe53eca6e1 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Sat, 14 Sep 2024 17:46:31 +0200 Subject: [PATCH] Fix commit c224905 --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 88e5b4e..12a4580 100644 --- a/main.go +++ b/main.go @@ -48,8 +48,8 @@ func (c *ChunkState) Init() { } func main() { - var newchunk *atomic.Uint64 - var reusechunk *atomic.Uint64 + var newchunk *atomic.Uint64 = new(atomic.Uint64) + var reusechunk *atomic.Uint64 = new(atomic.Uint64) cfg := loadConfig()