fix(sectorbuilder): always cast fsstat.Bsize

fixes compilation issue under macos
This commit is contained in:
dignifiedquire 2019-12-16 22:07:14 +01:00
parent 3fda442bb3
commit 32acb66269

View File

@ -86,7 +86,7 @@ func (f *fs) reserve(typ dataType, size uint64) error {
return err
}
avail := int64(fsstat.Bavail) * fsstat.Bsize
avail := int64(fsstat.Bavail) * int64(fsstat.Bsize)
avail -= f.reservedBytes()