activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r719141 - /activemq/activemq-cpp/trunk/src/main/activemq/connector/openwire/commands/Message.cpp
Date Thu, 20 Nov 2008 00:30:08 GMT
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();



Mime
View raw message