We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5222236 + d8322e3 commit 1eb13fcCopy full SHA for 1eb13fc
1 file changed
oci/spec_opts_linux.go
@@ -32,7 +32,8 @@ func deviceFromPath(path, permissions string) (*specs.LinuxDevice, error) {
32
}
33
34
var (
35
- devNumber = stat.Rdev
+ // The type is 32bit on mips.
36
+ devNumber = uint64(stat.Rdev) // nolint: unconvert
37
major = unix.Major(devNumber)
38
minor = unix.Minor(devNumber)
39
)
0 commit comments