Merge pull request #3634 from mheon/fix_32bit

Re-add int64 casts for ctime to fix 32-bit build
This commit is contained in:
OpenShift Merge Robot
2019-07-24 03:59:23 +02:00
committed by GitHub

View File

@ -10,5 +10,6 @@ import (
func created(fi os.FileInfo) time.Time {
st := fi.Sys().(*syscall.Stat_t)
return time.Unix(st.Ctim.Sec, st.Ctim.Nsec)
//nolint
return time.Unix(int64(st.Ctim.Sec), int64(st.Ctim.Nsec))
}