mirror of https://github.com/etcd-io/bbolt.git
Remove unnecessary masking
Signed-off-by: Cenk Alti <cenkalti@gmail.com>pull/502/head
parent
160cd29ec3
commit
b3df07c58c
|
@ -72,7 +72,7 @@ func mmap(db *DB, sz int) error {
|
|||
return fmt.Errorf("truncate: %s", err)
|
||||
}
|
||||
sizehi = uint32(sz >> 32)
|
||||
sizelo = uint32(sz) & 0xffffffff
|
||||
sizelo = uint32(sz)
|
||||
}
|
||||
|
||||
// Open a file mapping handle.
|
||||
|
|
Loading…
Reference in New Issue