From 9f2984071f88cdcd6c59e9bdb048e2af6eb8a9d1 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 3 Apr 2008 00:57:44 +0000 Subject: Fix serialize test failure on 64 bit architerctures. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644125 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/amqp_0_10/Map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid') diff --git a/cpp/src/qpid/amqp_0_10/Map.h b/cpp/src/qpid/amqp_0_10/Map.h index ce8cd4bd08..e9b95ed0f2 100644 --- a/cpp/src/qpid/amqp_0_10/Map.h +++ b/cpp/src/qpid/amqp_0_10/Map.h @@ -157,7 +157,7 @@ template typename V::result_type MapValue::apply_visitor(const V& v) { } template void Map::encode(S& s) const { - s(contentSize())(size()); // size, count + s(contentSize())(uint32_t(size())); // size, count for (const_iterator i = begin(); i != end(); ++i) s(i->first)(i->second); // key (type value) } -- cgit v1.2.1