Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 59491 invoked from network); 1 Feb 2008 20:45:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2008 20:45:49 -0000 Received: (qmail 94860 invoked by uid 500); 1 Feb 2008 20:45:40 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 94827 invoked by uid 500); 1 Feb 2008 20:45:40 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 94818 invoked by uid 99); 1 Feb 2008 20:45:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 12:45:40 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 20:45:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CB8231A9832; Fri, 1 Feb 2008 12:45:25 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080201204525.CB8231A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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; } /**