stat.Rdev and time.* is 32bit on OSX, which breaks cross builds with eg: cannot use stat.Rdev (type int32) as type uint64 in function argument We fix this with an extra conversion to uint64. Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson) Upstream-commit: ba52130873395a44d637fc57f98ed174f0ac87bb Component: engine