mirror of
https://github.com/restic/restic.git
synced 2025-03-16 00:00:05 +01:00
uint64 cast for Nlink
This commit is contained in:
parent
51cb0adcb9
commit
0ff027a8e9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue