diff --git a/pkg/archive/archive_test.go b/pkg/archive/archive_test.go index f24f628c2f3ccfcfd5b7a9d9276687e49b12278e..0bf878e0aeb00cf87702cf282912aea71411a977 100644 --- a/pkg/archive/archive_test.go +++ b/pkg/archive/archive_test.go @@ -873,7 +873,8 @@ func getNlink(path string) (uint64, error) { if !ok { return 0, fmt.Errorf("expected type *syscall.Stat_t, got %t", stat.Sys()) } - return statT.Nlink, nil + // We need this conversion on ARM64 + return uint64(statT.Nlink), nil } func getInode(path string) (uint64, error) {