From 0ff027a8e9e255042fb5b356014e058f8b6d5883 Mon Sep 17 00:00:00 2001 From: jgfrm Date: Tue, 7 Feb 2017 20:34:47 +0100 Subject: [PATCH] uint64 cast for Nlink --- src/cmds/restic/integration_helpers_unix_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }