Author: kgiusti
Date: Fri Dec  3 14:27:37 2010
New Revision: 1041835

URL: http://svn.apache.org/viewvc?rev=1041835&view=rev
Log:
fix signed vs unsigned compare errors

Modified:
    qpid/trunk/qpid/cpp/src/tests/BrokerMgmtAgent.cpp

Modified: qpid/trunk/qpid/cpp/src/tests/BrokerMgmtAgent.cpp
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/BrokerMgmtAgent.cpp?rev=1041835&r1=1041834&r2=1041835&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/BrokerMgmtAgent.cpp (original)
+++ qpid/trunk/qpid/cpp/src/tests/BrokerMgmtAgent.cpp Fri Dec  3 14:27:37 2010
@@ -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);



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to