From 127c6b458d2557165680355da8edaa1fc87e1978 Mon Sep 17 00:00:00 2001 From: Nuno Santos Date: Mon, 12 Dec 2011 22:55:20 +0000 Subject: 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 --- cpp/src/qpid/broker/MessageGroupManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') 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) { -- cgit v1.2.1