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 2008/02/01 21:45:21 UTC

svn commit: r617637 - in /activemq/activemq-cpp/trunk/src/main/activemq: io/LoggingInputStream.cpp transport/CommandIOException.h

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;
         }
 
         /**