aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker/stat-struct-fixes-mips64.patch
blob: f9f7f4fd49d6b2946ba95c08432c457cea956337 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/docker-ce-19.03.8/components/cli/vendor/github.com/docker/docker/pkg/system/stat_linux.go b/docker-ce-19.03.8/components/cli/vendor/github.com/docker/docker/pkg/system/stat_linux.go
index 98c9eb1..8a090a5 100644
--- a/components/cli/vendor/github.com/docker/docker/pkg/system/stat_linux.go
+++ b/components/cli/vendor/github.com/docker/docker/pkg/system/stat_linux.go
@@ -8,7 +8,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
 }