mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 14:13:58 +08:00
Merge pull request #4723 from chenx97/stat-uint32-mips
tests/cmd/remap-rootfs: fix mips builds
This commit is contained in:
@@ -49,7 +49,7 @@ type inodeID struct {
|
||||
}
|
||||
|
||||
func toInodeID(st *syscall.Stat_t) inodeID {
|
||||
return inodeID{Dev: st.Dev, Ino: st.Ino}
|
||||
return inodeID{Dev: uint64(st.Dev), Ino: st.Ino} //nolint:unconvert // Dev is uint32 on e.g. MIPS.
|
||||
}
|
||||
|
||||
func remapRootfs(root string, uidMap, gidMap []specs.LinuxIDMapping) error {
|
||||
|
||||
Reference in New Issue
Block a user