Merge pull request #502 from cenkalti/mask

Remove unnecessary masking
pull/504/head
Benjamin Wang 2023-05-18 08:50:01 +08:00 committed by GitHub
commit 07579acf0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.