summaryrefslogtreecommitdiff
path: root/qpid/cpp
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
commit8c6747fe9ff29f3aa8d1b93c4bfb59b619caa674 (patch)
tree08c26d5134986e450b7c5191e879cd8e1cff693f /qpid/cpp
parent4851ff7197b7ab4b9055d158fa691ab76a6ff7e7 (diff)
downloadqpid-python-8c6747fe9ff29f3aa8d1b93c4bfb59b619caa674.tar.gz
fix signed vs unsigned compare errors
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1041835 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/tests/BrokerMgmtAgent.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/src/tests/BrokerMgmtAgent.cpp b/qpid/cpp/src/tests/BrokerMgmtAgent.cpp
index 6a31dc5cfc..80bd590d7d 100644
--- a/qpid/cpp/src/tests/BrokerMgmtAgent.cpp
+++ b/qpid/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);