mirror of
https://github.com/octoleo/restic.git
synced 2025-01-09 01:21:15 +00:00
Always cast link counter to uint64
This commit is contained in:
parent
84ad6cf4d2
commit
d44eb9d794
@ -35,7 +35,7 @@ func (node *Node) fill_extra(path string, fi os.FileInfo) (err error) {
|
|||||||
switch node.Type {
|
switch node.Type {
|
||||||
case "file":
|
case "file":
|
||||||
node.Size = uint64(stat.Size)
|
node.Size = uint64(stat.Size)
|
||||||
node.Links = stat.Nlink
|
node.Links = uint64(stat.Nlink)
|
||||||
case "dir":
|
case "dir":
|
||||||
// nothing to do
|
// nothing to do
|
||||||
case "symlink":
|
case "symlink":
|
||||||
|
Loading…
Reference in New Issue
Block a user