Always cast link counter to uint64

This commit is contained in:
Alexander Neumann 2015-02-03 22:06:06 +01:00
parent 84ad6cf4d2
commit d44eb9d794
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ func (node *Node) fill_extra(path string, fi os.FileInfo) (err error) {
switch node.Type {
case "file":
node.Size = uint64(stat.Size)
node.Links = stat.Nlink
node.Links = uint64(stat.Nlink)
case "dir":
// nothing to do
case "symlink":