diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2020-02-27 15:20:31 -0800 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2020-05-08 11:18:43 -0700 |
commit | df37377e30678ac9b8338ea920e50b7296da6bd5 (patch) | |
tree | 71f19d59320fd191f990a9e1b449d60459e17550 /src/test/blockfilter_tests.cpp | |
parent | 5b24f6084ede92d0f493ff416b4726245140b2c1 (diff) | |
download | bitcoin-df37377e30678ac9b8338ea920e50b7296da6bd5.tar.xz |
test: Fix outstanding -Wsign-compare errors
Diffstat (limited to 'src/test/blockfilter_tests.cpp')
-rw-r--r-- | src/test/blockfilter_tests.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/blockfilter_tests.cpp b/src/test/blockfilter_tests.cpp index e69503ef35..178c261365 100644 --- a/src/test/blockfilter_tests.cpp +++ b/src/test/blockfilter_tests.cpp @@ -42,14 +42,14 @@ BOOST_AUTO_TEST_CASE(gcsfilter_test) BOOST_AUTO_TEST_CASE(gcsfilter_default_constructor) { GCSFilter filter; - BOOST_CHECK_EQUAL(filter.GetN(), 0); - BOOST_CHECK_EQUAL(filter.GetEncoded().size(), 1); + BOOST_CHECK_EQUAL(filter.GetN(), 0U); + BOOST_CHECK_EQUAL(filter.GetEncoded().size(), 1U); const GCSFilter::Params& params = filter.GetParams(); - BOOST_CHECK_EQUAL(params.m_siphash_k0, 0); - BOOST_CHECK_EQUAL(params.m_siphash_k1, 0); + BOOST_CHECK_EQUAL(params.m_siphash_k0, 0U); + BOOST_CHECK_EQUAL(params.m_siphash_k1, 0U); BOOST_CHECK_EQUAL(params.m_P, 0); - BOOST_CHECK_EQUAL(params.m_M, 1); + BOOST_CHECK_EQUAL(params.m_M, 1U); } BOOST_AUTO_TEST_CASE(blockfilter_basic_test) |