switch to uint64 cause native word length
This commit is contained in:
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user