diff options
author | Gav Wood <i@gavwood.com> | 2015-03-23 05:26:10 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-03-23 05:26:10 +0800 |
commit | 7d4c44f7f3949b4583302f76aa1033398f30856b (patch) | |
tree | 0144356df5fe270f8e7531d19702cb04569f8a97 | |
parent | defaebaa7bd919db21db95f2538b36e3193ef8e1 (diff) | |
download | dexon-solidity-7d4c44f7f3949b4583302f76aa1033398f30856b.tar.gz dexon-solidity-7d4c44f7f3949b4583302f76aa1033398f30856b.tar.zst dexon-solidity-7d4c44f7f3949b4583302f76aa1033398f30856b.zip |
Fix signed/unsigned mismatch.
-rw-r--r-- | peer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,7 +90,7 @@ BOOST_AUTO_TEST_CASE(save_nodes) RLP r(firstHostNetwork); BOOST_REQUIRE(r.itemCount() == 3); - BOOST_REQUIRE(r[0].toInt<int>() == dev::p2p::c_protocolVersion); + BOOST_REQUIRE(r[0].toInt<unsigned>() == dev::p2p::c_protocolVersion); BOOST_REQUIRE_EQUAL(r[1].toBytes().size(), 32); // secret BOOST_REQUIRE_EQUAL(r[2].itemCount(), 5); } |