summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/cluster_test.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-11-05 09:22:14 +0000
committerGordon Sim <gsim@apache.org>2008-11-05 09:22:14 +0000
commitc68194067c2b31bc6fbb3e57238fe713582c81fe (patch)
tree04f8978d71ae243c462540a512218449fa2d6899 /qpid/cpp/src/tests/cluster_test.cpp
parentabf152ac74b5e1dfb8ac3876eb2a74650191be35 (diff)
downloadqpid-python-c68194067c2b31bc6fbb3e57238fe713582c81fe.tar.gz
fixed compilation warnings from comparison of signed and unsigned ints
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@711540 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/cluster_test.cpp')
-rw-r--r--qpid/cpp/src/tests/cluster_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/cluster_test.cpp b/qpid/cpp/src/tests/cluster_test.cpp
index d8f366009d..623c033e4c 100644
--- a/qpid/cpp/src/tests/cluster_test.cpp
+++ b/qpid/cpp/src/tests/cluster_test.cpp
@@ -468,7 +468,7 @@ QPID_AUTO_TEST_CASE(DumpConsumers) {
// Kill the subscribing member, ensure further messages are not removed.
cluster.killWithSilencer(0,c0.connection,9);
- BOOST_REQUIRE_EQUAL(knownBrokerPorts(c1.connection, 2).size(), 2);
+ BOOST_REQUIRE_EQUAL(knownBrokerPorts(c1.connection, 2).size(), 2u);
for (int i = 0; i < 10; ++i) {
c1.session.messageTransfer(arg::content=Message("xxx", "q"));
BOOST_REQUIRE(c1.subs.get(m, "q", TIME_SEC));
@@ -495,7 +495,7 @@ QPID_AUTO_TEST_CASE(testCatchupSharedState) {
c0.session.messageTransfer(arg::content=Message("pfoo","p"));
// Do some work post-join
- BOOST_REQUIRE_EQUAL(knownBrokerPorts(c0.connection, 2).size(), 2);
+ BOOST_REQUIRE_EQUAL(knownBrokerPorts(c0.connection, 2).size(), 2u);
c0.session.messageTransfer(arg::content=Message("pbar","p"));
// Verify new brokers have state.