switch to uint64 cause native word length

This commit is contained in:
2026-05-06 20:08:04 -06:00
parent 8a2e6756cc
commit 3505f0e059
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ const userAgent = "pacman/7.1.0 (Linux x86_64) libalpm/16.0.1"
type Cache struct {
cfg CacheConfig
mirrorIdx atomic.Uint32
mirrorIdx atomic.Uint64
sf singleflight.Group //prevents duplicate downloads
mu sync.Mutex
client http.Client