From 7d4c44f7f3949b4583302f76aa1033398f30856b Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sun, 22 Mar 2015 22:26:10 +0100 Subject: [PATCH] Fix signed/unsigned mismatch. --- peer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peer.cpp b/peer.cpp index ba8fb0b6e..bfb4680d3 100644 --- a/peer.cpp +++ b/peer.cpp @@ -90,7 +90,7 @@ BOOST_AUTO_TEST_CASE(save_nodes) RLP r(firstHostNetwork); BOOST_REQUIRE(r.itemCount() == 3); - BOOST_REQUIRE(r[0].toInt() == dev::p2p::c_protocolVersion); + BOOST_REQUIRE(r[0].toInt() == dev::p2p::c_protocolVersion); BOOST_REQUIRE_EQUAL(r[1].toBytes().size(), 32); // secret BOOST_REQUIRE_EQUAL(r[2].itemCount(), 5); }