diff options
author | Nuno Santos <nsantos@apache.org> | 2011-12-12 22:55:20 +0000 |
---|---|---|
committer | Nuno Santos <nsantos@apache.org> | 2011-12-12 22:55:20 +0000 |
commit | 127c6b458d2557165680355da8edaa1fc87e1978 (patch) | |
tree | cdcd5f1f0ec35110316284f10b9a11a21226aa7f /cpp/src | |
parent | f0c528be47bbdaaee5398dc68c4b63508f3bbc23 (diff) | |
download | qpid-python-127c6b458d2557165680355da8edaa1fc87e1978.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/qpid@1213485 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/broker/MessageGroupManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/MessageGroupManager.cpp b/cpp/src/qpid/broker/MessageGroupManager.cpp index 3a996db9cc..ddef66b80a 100644 --- a/cpp/src/qpid/broker/MessageGroupManager.cpp +++ b/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) { |