Skip to content

Commit 1e58bcc

Browse files
committed
wallet: Fix clang build in Mac
Signed-off-by: Anthony Fieroni <[email protected]>
1 parent 5f96bce commit 1e58bcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/test/wallet_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,13 +812,13 @@ BOOST_FIXTURE_TEST_CASE(ZapSelectTx, TestChain100Setup)
812812

813813
LOCK(wallet->cs_wallet);
814814
BOOST_CHECK(wallet->HasWalletSpend(prev_hash));
815-
BOOST_CHECK_EQUAL(wallet->mapWallet.count(block_hash), 1);
815+
BOOST_CHECK_EQUAL(wallet->mapWallet.count(block_hash), 1u);
816816

817817
std::vector<uint256> vHashIn{ block_hash }, vHashOut;
818818
BOOST_CHECK_EQUAL(wallet->ZapSelectTx(vHashIn, vHashOut), DBErrors::LOAD_OK);
819819

820820
BOOST_CHECK(!wallet->HasWalletSpend(prev_hash));
821-
BOOST_CHECK_EQUAL(wallet->mapWallet.count(block_hash), 0);
821+
BOOST_CHECK_EQUAL(wallet->mapWallet.count(block_hash), 0u);
822822
}
823823

824824
TestUnloadWallet(std::move(wallet));

0 commit comments

Comments
 (0)