[sources] Minor fixup to enable building on OSX
This commit is contained in:
parent
6f936410ac
commit
a3f90611a5
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ func archiveFile (_context *context, _pathResolved string, _pathInArchive string
|
||||||
if _stat, _error := _file.Stat (); _error == nil {
|
if _stat, _error := _file.Stat (); _error == nil {
|
||||||
_stat := _stat.Sys()
|
_stat := _stat.Sys()
|
||||||
if _stat, _ok := _stat.(*syscall.Stat_t); _ok {
|
if _stat, _ok := _stat.(*syscall.Stat_t); _ok {
|
||||||
_fileId = [2]uint64 { _stat.Dev, _stat.Ino }
|
_fileId = [2]uint64 { uint64 (_stat.Dev), uint64 (_stat.Ino) }
|
||||||
} else {
|
} else {
|
||||||
return fmt.Errorf ("[6578d2d7] failed `stat`-ing: `%s`!", _pathResolved)
|
return fmt.Errorf ("[6578d2d7] failed `stat`-ing: `%s`!", _pathResolved)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue