fix(sectorbuilder): always cast fsstat.Bsize
fixes compilation issue under macos
This commit is contained in:
parent
3fda442bb3
commit
32acb66269
@ -86,7 +86,7 @@ func (f *fs) reserve(typ dataType, size uint64) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
avail := int64(fsstat.Bavail) * fsstat.Bsize
|
avail := int64(fsstat.Bavail) * int64(fsstat.Bsize)
|
||||||
|
|
||||||
avail -= f.reservedBytes()
|
avail -= f.reservedBytes()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user