activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmitt...@apache.org
Subject svn commit: r506779 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/WireFormatInfo.cpp
Date Tue, 13 Feb 2007 00:52:01 GMT
Author: nmittler
Date: Mon Feb 12 16:52:01 2007
New Revision: 506779

URL: http://svn.apache.org/viewvc?view=rev&rev=506779
Log:
[AMQCPP-30] Fixed warning for signed/unsigned comparison

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/WireFormatInfo.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/WireFormatInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/WireFormatInfo.cpp?view=diff&rev=506779&r1=506778&r2=506779
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/WireFormatInfo.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/WireFormatInfo.cpp
Mon Feb 12 16:52:01 2007
@@ -45,7 +45,7 @@
     
     // Initialize member magic buffer to the static buffer.
     magic.resize( MAGIC.size() );
-    for( int ix=0; ix<MAGIC.size(); ++ix ){
+    for( std::size_t ix=0; ix<MAGIC.size(); ++ix ){
         magic[ix] = MAGIC[ix];
     }
 }



Mime
View raw message