activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r617637 - in /activemq/activemq-cpp/trunk/src/main/activemq: io/LoggingInputStream.cpp transport/CommandIOException.h
Date Fri, 01 Feb 2008 20:45:21 GMT
Author: tabish
Date: Fri Feb  1 12:45:15 2008
New Revision: 617637

URL: http://svn.apache.org/viewvc?rev=617637&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103

Modified:
    activemq/activemq-cpp/trunk/src/main/activemq/io/LoggingInputStream.cpp
    activemq/activemq-cpp/trunk/src/main/activemq/transport/CommandIOException.h

Modified: activemq/activemq-cpp/trunk/src/main/activemq/io/LoggingInputStream.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/io/LoggingInputStream.cpp?rev=617637&r1=617636&r2=617637&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/io/LoggingInputStream.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/io/LoggingInputStream.cpp Fri Feb  1 12:45:15
2008
@@ -65,7 +65,7 @@
 
         log( buffer, numRead );
 
-        return numRead;
+        return (int)numRead;
     }
     AMQ_CATCH_RETHROW( IOException )
     AMQ_CATCHALL_THROW( IOException )

Modified: activemq/activemq-cpp/trunk/src/main/activemq/transport/CommandIOException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/transport/CommandIOException.h?rev=617637&r1=617636&r2=617637&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/transport/CommandIOException.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/transport/CommandIOException.h Fri Feb 
1 12:45:15 2008
@@ -37,7 +37,7 @@
          */
         CommandIOException( const decaf::lang::Exception& ex ) throw()
         : decaf::io::IOException() {
-            *this = ex;
+            *(decaf::io::IOException*)this = ex;
         }
 
         /**
@@ -46,7 +46,7 @@
          */
         CommandIOException( const CommandIOException& ex ) throw()
         : decaf::io::IOException() {
-            *this = ex;
+            *(decaf::io::IOException*)this = ex;
         }
 
         /**



Mime
View raw message