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:
Joe Thornber 2015-01-16 10:15:01 +00:00
parent fe64da2c7c
commit bd2c0df226

View File

@ -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) {