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:30:08 UTC

svn commit: r719141 - /activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Message.cpp

Author: tabish
Date: Wed Nov 19 16:30:08 2008
New Revision: 719141

URL: http://svn.apache.org/viewvc?rev=719141&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=719141&r1=719140&r2=719141&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:30:08 2008
@@ -458,7 +458,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 unsigned int Message::getSize() const {
 
-    long long size = DEFAULT_MESSAGE_SIZE;
+    unsigned int size = DEFAULT_MESSAGE_SIZE;
 
     size += this->getContent().size();
     size += this->getMarshalledProperties().size();