summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
authorKenneth Anthony Giusti <kgiusti@apache.org>2010-12-03 14:27:37 +0000
committerKenneth Anthony Giusti <kgiusti@apache.org>2010-12-03 14:27:37 +0000
commit00de9cd65faa5afe1a50e57ebc30d83a8acc6862 (patch)
treedad95c513340c357943f9a5044f89ac8b4014c13 /cpp/src/tests
parentc1c9df2ccd5d1180f6598f9de2f31e7ea084568a (diff)
downloadqpid-python-00de9cd65faa5afe1a50e57ebc30d83a8acc6862.tar.gz
fix signed vs unsigned compare errors
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1041835 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rw-r--r--cpp/src/tests/BrokerMgmtAgent.cpp8
1 files changed, 4 insertions, 4 deletions
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);