You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2008/11/20 01:36:43 UTC
svn commit: r719143 -
/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Message.cpp
Author: tabish
Date: Wed Nov 19 16:36:42 2008
New Revision: 719143
URL: http://svn.apache.org/viewvc?rev=719143&view=rev
Log:
Fix a windows warning for type conversion.
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Message.cpp
Modified: activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Message.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Message.cpp?rev=719143&r1=719142&r2=719143&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Message.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Message.cpp Wed Nov 19 16:36:42 2008
@@ -460,8 +460,8 @@
unsigned int size = DEFAULT_MESSAGE_SIZE;
- size += this->getContent().size();
- size += this->getMarshalledProperties().size();
+ size += (unsigned int)this->getContent().size();
+ size += (unsigned int)this->getMarshalledProperties().size();
return size;
}