From bd2c0df22681294c01359897332dd69ba2bd6f6f Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Fri, 16 Jan 2015 10:15:01 +0000 Subject: [PATCH] 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 --- persistent-data/data-structures/bloom_filter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/persistent-data/data-structures/bloom_filter.cc b/persistent-data/data-structures/bloom_filter.cc index a250835..08516e1 100644 --- a/persistent-data/data-structures/bloom_filter.cc +++ b/persistent-data/data-structures/bloom_filter.cc @@ -7,7 +7,7 @@ using namespace persistent_data; //---------------------------------------------------------------- namespace { - static const uint64_t m1 = 0x9e37fffffffc0001UL; + static const uint64_t m1 = 0x9e37fffffffc0001ULL; static const unsigned bits = 18; static uint32_t hash1(block_address const &b) {