Fix this error:
persistent-data/data-structures/bloom_filter.cc:10: error: integer constant is too large for 'unsigned long' type Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
This commit is contained in:
parent
fe64da2c7c
commit
bd2c0df226
@ -7,7 +7,7 @@ using namespace persistent_data;
|
|||||||
//----------------------------------------------------------------
|
//----------------------------------------------------------------
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
static const uint64_t m1 = 0x9e37fffffffc0001UL;
|
static const uint64_t m1 = 0x9e37fffffffc0001ULL;
|
||||||
static const unsigned bits = 18;
|
static const unsigned bits = 18;
|
||||||
|
|
||||||
static uint32_t hash1(block_address const &b) {
|
static uint32_t hash1(block_address const &b) {
|
||||||
|
Loading…
Reference in New Issue
Block a user