activemq-commits mailing list archives

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



Mime
View raw message