From 00de9cd65faa5afe1a50e57ebc30d83a8acc6862 Mon Sep 17 00:00:00 2001 From: Kenneth Anthony Giusti Date: Fri, 3 Dec 2010 14:27:37 +0000 Subject: fix signed vs unsigned compare errors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1041835 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/BrokerMgmtAgent.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp') diff --git a/cpp/src/tests/BrokerMgmtAgent.cpp b/cpp/src/tests/BrokerMgmtAgent.cpp index 6a31dc5cfc..80bd590d7d 100644 --- a/cpp/src/tests/BrokerMgmtAgent.cpp +++ b/cpp/src/tests/BrokerMgmtAgent.cpp @@ -515,7 +515,7 @@ namespace qpid { // destroy some of the objects, then immediately export (before the next poll cycle) - int delCount = 0; + uint32_t delCount = 0; for (size_t i = 0; i < objCount; i += 2) { tmv[i]->GetManagementObject()->resourceDestroy(); delCount++; @@ -542,7 +542,7 @@ namespace qpid { // wait for the deleted object to be published, verify the count - int countDels = 0; + uint32_t countDels = 0; while (r1.fetch(m1, Duration::SECOND * 6)) { TestObjectVector objs; decodeV1ObjectUpdates(m1, objs, objLen); @@ -609,7 +609,7 @@ namespace qpid { // destroy some of the objects, then immediately export (before the next poll cycle) - int delCount = 0; + uint32_t delCount = 0; for (size_t i = 0; i < objCount; i += 2) { tmv[i]->GetManagementObject()->resourceDestroy(); delCount++; @@ -636,7 +636,7 @@ namespace qpid { // wait for the deleted object to be published, verify the count - int countDels = 0; + uint32_t countDels = 0; while (r1.fetch(m1, Duration::SECOND * 6)) { TestObjectVector objs; decodeV2ObjectUpdates(m1, objs); -- cgit v1.2.1