qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsan...@apache.org
Subject svn commit: r1213485 - /qpid/trunk/qpid/cpp/src/qpid/broker/MessageGroupManager.cpp
Date Mon, 12 Dec 2011 22:55:21 GMT
Author: nsantos
Date: Mon Dec 12 22:55:20 2011
New Revision: 1213485

URL: http://svn.apache.org/viewvc?rev=1213485&view=rev
Log:
added explicit cast, required by some compiler versions, namely on s390 arch

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/MessageGroupManager.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/MessageGroupManager.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/MessageGroupManager.cpp?rev=1213485&r1=1213484&r2=1213485&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/MessageGroupManager.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/MessageGroupManager.cpp Mon Dec 12 22:55:20 2011
@@ -280,7 +280,7 @@ void MessageGroupManager::query(qpid::ty
          g != messageGroups.end(); ++g) {
         qpid::types::Variant::Map info;
         info[GROUP_ID_KEY] = g->first;
-        info[GROUP_MSG_COUNT] = g->second.members.size();
+        info[GROUP_MSG_COUNT] = (uint64_t) g->second.members.size();
         // set the timestamp to the arrival timestamp of the oldest (HEAD) message, if present
         info[GROUP_TIMESTAMP] = 0;
         if (g->second.members.size() != 0) {



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message