From 4af3978261af87b21de485328b83e5d8d5546e03 Mon Sep 17 00:00:00 2001 From: Vlad Gluhovsky Date: Wed, 29 Jul 2015 15:52:03 +0200 Subject: [PATCH] style fix --- test/libwhisper/shhrpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/libwhisper/shhrpc.cpp b/test/libwhisper/shhrpc.cpp index 5d619e605..a2693b431 100644 --- a/test/libwhisper/shhrpc.cpp +++ b/test/libwhisper/shhrpc.cpp @@ -182,7 +182,7 @@ BOOST_AUTO_TEST_CASE(send) BOOST_REQUIRE_EQUAL(web3->peerCount(), 1); KeyPair us = KeyPair::create(); - for (int i = 0; i < messageCount; ++i) + for (unsigned i = 0; i < messageCount; ++i) { web3->whisper()->post(us.sec(), RLPStream().append(i * i).out(), BuildTopic(i)(i % 2 ? "odd" : "even"), 777000, 1); this_thread::sleep_for(chrono::milliseconds(50)); @@ -250,7 +250,7 @@ BOOST_AUTO_TEST_CASE(receive) BOOST_REQUIRE_EQUAL(web3->peerCount(), 1); KeyPair us = KeyPair::create(); - for (int i = 0; i < messageCount; ++i) + for (unsigned i = 0; i < messageCount; ++i) { web3->whisper()->post(us.sec(), RLPStream().append(i * i * i).out(), BuildTopic(i)(i % 2 ? "odd" : "even"), 777000, 1); this_thread::sleep_for(chrono::milliseconds(50));