From d601210c32c1fc3dba0e196df233f3291f946892 Mon Sep 17 00:00:00 2001 From: Vladimir Bauer Date: Fri, 26 Aug 2022 15:31:12 +0500 Subject: [PATCH] fixup! refactoring: specific types --- _examples/barExtenderRev/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_examples/barExtenderRev/main.go b/_examples/barExtenderRev/main.go index 446e2459..90f979ec 100644 --- a/_examples/barExtenderRev/main.go +++ b/_examples/barExtenderRev/main.go @@ -70,10 +70,10 @@ func main() { ), ) - tb.SetTotal(int64(total), false) + tb.SetTotal(total, false) for _, t := range tasks { - atomic.StoreUint32(&curTask, uint32(t.id)) + atomic.StoreUint32(&curTask, t.id) complete(tb, t) atomic.AddUint32(&doneTasks, 1) }