Skip to content

Commit

Permalink
fix: explicitly convert s.Rdev to uint64 (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
straysh authored Apr 3, 2023
1 parent 4f7885b commit 7bcb18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/pkg/system/stat_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ func fromStatT(s *syscall.Stat_t) (*StatT, error) {
mode: s.Mode,
uid: s.Uid,
gid: s.Gid,
rdev: s.Rdev,
rdev: uint64(s.Rdev),
mtim: s.Mtim}, nil
}

Expand Down

0 comments on commit 7bcb18d

Please sign in to comment.