activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r509204 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/BaseDataStreamMarshaller.h
Date Mon, 19 Feb 2007 13:59:57 GMT
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 );
                     }



Mime
View raw message