Skip to content

Commit d601210

Browse files
committed
fixup! refactoring: specific types
1 parent 877b284 commit d601210

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_examples/barExtenderRev/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ func main() {
7070
),
7171
)
7272

73-
tb.SetTotal(int64(total), false)
73+
tb.SetTotal(total, false)
7474

7575
for _, t := range tasks {
76-
atomic.StoreUint32(&curTask, uint32(t.id))
76+
atomic.StoreUint32(&curTask, t.id)
7777
complete(tb, t)
7878
atomic.AddUint32(&doneTasks, 1)
7979
}

0 commit comments

Comments
 (0)