diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-07 18:23:59 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-07 18:24:04 +0200 |
commit | 1fedd65fcf9ac04b70f0fa8cf6caa9629857d586 (patch) | |
tree | 7898576612cd3d1a6633748059da935f286b04cd /src | |
parent | c6ac5fcfc233e5346c73b32eed79cfe8e9fa6392 (diff) | |
parent | 2227725fcb68cf70bc3b33e68d4288df6c4a219a (diff) |
Merge pull request #4480
2227725 test/bloom_tests: Use UL suffix for unsigned long number to ensure compatibility (Luke Dashjr)
Diffstat (limited to 'src')
-rw-r--r-- | src/test/bloom_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/bloom_tests.cpp b/src/test/bloom_tests.cpp index 5c6c7d8588..2cdafa4bdd 100644 --- a/src/test/bloom_tests.cpp +++ b/src/test/bloom_tests.cpp @@ -54,7 +54,7 @@ BOOST_AUTO_TEST_CASE(bloom_create_insert_serialize) BOOST_AUTO_TEST_CASE(bloom_create_insert_serialize_with_tweak) { // Same test as bloom_create_insert_serialize, but we add a nTweak of 100 - CBloomFilter filter(3, 0.01, 2147483649, BLOOM_UPDATE_ALL); + CBloomFilter filter(3, 0.01, 2147483649UL, BLOOM_UPDATE_ALL); filter.insert(ParseHex("99108ad8ed9bb6274d3980bab5a85c048f0950c8")); BOOST_CHECK_MESSAGE( filter.contains(ParseHex("99108ad8ed9bb6274d3980bab5a85c048f0950c8")), "BloomFilter doesn't contain just-inserted object!"); |