activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmitt...@apache.org
Subject svn commit: r500372 - in /incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io: BufferedInputStreamTest.h BufferedOutputStreamTest.h
Date Fri, 26 Jan 2007 21:56:28 GMT
Author: nmittler
Date: Fri Jan 26 13:56:26 2007
New Revision: 500372

URL: http://svn.apache.org/viewvc?view=rev&rev=500372
Log:
[AMQCPP-56] - fixing compiler warnings/errors on gcc

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedInputStreamTest.h
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedOutputStreamTest.h

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedInputStreamTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedInputStreamTest.h?view=diff&rev=500372&r1=500371&r2=500372
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedInputStreamTest.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedInputStreamTest.h
Fri Jan 26 13:56:26 2007
@@ -103,7 +103,7 @@
 			
 			std::string testStr = "TEST12345678910";
 			MyInputStream myStream( testStr );
-			BufferedInputStream bufStream( &myStream, (unsigned int)1 );
+			BufferedInputStream bufStream( &myStream, (std::size_t)1 );
 			
 			std::size_t available = bufStream.available();
 			CPPUNIT_ASSERT( available == testStr.length() );
@@ -143,7 +143,7 @@
 			
 			std::string testStr = "TEST12345678910";
 			MyInputStream myStream( testStr );
-			BufferedInputStream bufStream( &myStream, (unsigned int)10 );
+			BufferedInputStream bufStream( &myStream, (std::size_t)10 );
 			
 			std::size_t available = bufStream.available();
 			CPPUNIT_ASSERT( available == testStr.length() );

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedOutputStreamTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedOutputStreamTest.h?view=diff&rev=500372&r1=500371&r2=500372
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedOutputStreamTest.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/BufferedOutputStreamTest.h
Fri Jan 26 13:56:26 2007
@@ -99,7 +99,7 @@
 		void testSmallerBuffer(){
 			
 			MyOutputStream myStream;
-			BufferedOutputStream bufStream( &myStream, (unsigned int)1 );
+			BufferedOutputStream bufStream( &myStream, (std::size_t)1 );
 			
 			const char* buffer = myStream.getBuffer();
 			
@@ -122,7 +122,7 @@
 		void testBiggerBuffer(){
 			
 			MyOutputStream myStream;
-			BufferedOutputStream bufStream( &myStream, (unsigned int)10 );
+			BufferedOutputStream bufStream( &myStream, (std::size_t)10 );
 			
 			const char* buffer = myStream.getBuffer();
 			



Mime
View raw message