diff options
author | Æx <3017586-ax10336@users.noreply.gitlab.com> | 2021-09-08 21:30:13 +0300 |
---|---|---|
committer | Æx <3017586-ax10336@users.noreply.gitlab.com> | 2021-09-09 10:04:57 +0300 |
commit | 3db4ac6aa075a157851006d4e23f1d7088a982f6 (patch) | |
tree | 86f60a951052570f33cde8933030e71f63088acf /internal/vfs/zip/archive.go | |
parent | 85c4291724f713a37a047e9baacb9cd2187d9de2 (diff) |
fix: unaligned 64-bit atomic operation
Changelog: fixed
Diffstat (limited to 'internal/vfs/zip/archive.go')
-rw-r--r-- | internal/vfs/zip/archive.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/vfs/zip/archive.go b/internal/vfs/zip/archive.go index 087ddda8..3d6a9ff1 100644 --- a/internal/vfs/zip/archive.go +++ b/internal/vfs/zip/archive.go @@ -69,7 +69,7 @@ func newArchive(fs *zipVFS, openTimeout time.Duration) *zipArchive { files: make(map[string]*zip.File), directories: make(map[string]*zip.FileHeader), openTimeout: openTimeout, - cacheNamespace: strconv.FormatInt(atomic.AddInt64(&fs.archiveCount, 1), 10) + ":", + cacheNamespace: strconv.FormatInt(atomic.AddInt64(fs.archiveCount, 1), 10) + ":", } } |