diff options
Diffstat (limited to 'table/path.go')
-rw-r--r-- | table/path.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/table/path.go b/table/path.go index 10b33448..65c33a26 100644 --- a/table/path.go +++ b/table/path.go @@ -42,7 +42,7 @@ func (b Bitmap) GetFlag(i uint) bool { } func NewBitmap(size int) Bitmap { - return Bitmap(make([]uint64, size/64+1)) + return Bitmap(make([]uint64, (size+64-1)/64)) } type originInfo struct { |