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 2007/02/19 14:59:57 UTC
svn commit: r509204 -
/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/BaseDataStreamMarshaller.h
Author: tabish
Date: Mon Feb 19 05:59:56 2007
New Revision: 509204
URL: http://svn.apache.org/viewvc?view=rev&rev=509204
Log:
http://issues.apache.org/activemq/browse/AMQCPP-30
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/BaseDataStreamMarshaller.h
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/BaseDataStreamMarshaller.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/BaseDataStreamMarshaller.h?view=diff&rev=509204&r1=509203&r2=509204
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/BaseDataStreamMarshaller.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/BaseDataStreamMarshaller.h Mon Feb 19 05:59:56 2007
@@ -524,7 +524,7 @@
int rc = 0;
bs->writeBoolean( true );
rc += 2;
- for( unsigned int i = 0; i < objects.size(); ++i ) {
+ for( std::size_t i = 0; i < objects.size(); ++i ) {
rc += tightMarshalNestedObject1(
wireFormat, objects[i], bs );
}
@@ -562,7 +562,7 @@
if( bs->readBoolean() ) {
dataOut->writeShort( (short)objects.size() );
- for( unsigned int i = 0; i < objects.size(); ++i ) {
+ for( std::size_t i = 0; i < objects.size(); ++i ) {
tightMarshalNestedObject2(
wireFormat, objects[i], dataOut, bs );
}
@@ -594,7 +594,7 @@
if( !objects.empty() ) {
dataOut->writeShort( (short)objects.size() );
- for( unsigned int i = 0; i < objects.size(); ++i ) {
+ for( std::size_t i = 0; i < objects.size(); ++i ) {
looseMarshalNestedObject(
wireFormat, objects[i], dataOut );
}