diff --git a/src/cmds/restic/integration_helpers_unix_test.go b/src/cmds/restic/integration_helpers_unix_test.go index 0d830ff06..bac687218 100644 --- a/src/cmds/restic/integration_helpers_unix_test.go +++ b/src/cmds/restic/integration_helpers_unix_test.go @@ -47,5 +47,5 @@ func (e *dirEntry) equals(other *dirEntry) bool { func nlink(info os.FileInfo) uint64 { stat, _ := info.Sys().(*syscall.Stat_t) - return stat.Nlink + return uint64(stat.Nlink) }