mirror of
https://github.com/restic/restic.git
synced 2025-03-16 00:00:05 +01:00
added uint64 cast
This commit is contained in:
parent
54335e3241
commit
950d44e20b
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ func createFileSetPerHardlink(dir string) map[uint64][]string {
|
|||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
for i uint64, f := range files {
|
||||
linkTests[i] = append(linkTests[i], f.Name())
|
||||
for i, f := range files {
|
||||
linkTests[uint64(i)] = append(linkTests[uint64(i)], f.Name())
|
||||
i++
|
||||
}
|
||||
return linkTests
|
||||
|
|
Loading…
Add table
Reference in a new issue