Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 89641 invoked from network); 16 Mar 2007 16:11:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Mar 2007 16:11:12 -0000 Received: (qmail 453 invoked by uid 500); 16 Mar 2007 16:11:20 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 437 invoked by uid 500); 16 Mar 2007 16:11:20 -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 424 invoked by uid 99); 16 Mar 2007 16:11:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 09:11:19 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME 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, 16 Mar 2007 09:11:11 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 22D9E1A9838; Fri, 16 Mar 2007 09:10:51 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r519033 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp Date: Fri, 16 Mar 2007 16:10:51 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070316161051.22D9E1A9838@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tabish Date: Fri Mar 16 09:10:50 2007 New Revision: 519033 URL: http://svn.apache.org/viewvc?view=rev&rev=519033 Log: http://issues.apache.org/activemq/browse/AMQCPP-81 Fixed bad cast Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp?view=diff&rev=519033&r1=519032&r2=519033 ============================================================================== --- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp (original) +++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp Fri Mar 16 09:10:50 2007 @@ -202,7 +202,7 @@ connectionData->getConnector()->acknowledge( consumer->getSessionInfo(), consumer, - (Message*)message, + dynamic_cast( message ), Connector::DeliveredAck ); // Delete the message here