summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorNuno Santos <nsantos@apache.org>2011-12-12 22:55:20 +0000
committerNuno Santos <nsantos@apache.org>2011-12-12 22:55:20 +0000
commit7949d97d19ad8df397cc21485ec60b37e2aea964 (patch)
treeed2002233aa38b4a14359b34af639ae40c7482a2 /qpid/cpp
parent0ddd3b2994df37eb013815c13c4398fbb330cd00 (diff)
downloadqpid-python-7949d97d19ad8df397cc21485ec60b37e2aea964.tar.gz
added explicit cast, required by some compiler versions, namely on s390 arch
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1213485 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/broker/MessageGroupManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/MessageGroupManager.cpp b/qpid/cpp/src/qpid/broker/MessageGroupManager.cpp
index 3a996db9cc..ddef66b80a 100644
--- a/qpid/cpp/src/qpid/broker/MessageGroupManager.cpp
+++ b/qpid/cpp/src/qpid/broker/MessageGroupManager.cpp
@@ -280,7 +280,7 @@ void MessageGroupManager::query(qpid::types::Variant::Map& status) const
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) {