Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 75484 invoked from network); 11 Nov 2009 18:15:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Nov 2009 18:15:27 -0000 Received: (qmail 63915 invoked by uid 500); 11 Nov 2009 18:15:27 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 63881 invoked by uid 500); 11 Nov 2009 18:15:27 -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 63872 invoked by uid 99); 11 Nov 2009 18:15:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Nov 2009 18:15:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Nov 2009 18:15:24 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A80DF2388882; Wed, 11 Nov 2009 18:15:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r834997 - in /activemq/activemq-cpp/trunk/activemq-cpp/src: examples/producers/SimpleProducer.cpp test-integration/activemq/test/ExpirationTest.cpp Date: Wed, 11 Nov 2009 18:15:03 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091111181503.A80DF2388882@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tabish Date: Wed Nov 11 18:15:03 2009 New Revision: 834997 URL: http://svn.apache.org/viewvc?rev=834997&view=rev Log: https://issues.apache.org/activemq/browse/AMQCPP-265 Fix a couple of windows warnings Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/producers/SimpleProducer.cpp activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/ExpirationTest.cpp Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/producers/SimpleProducer.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/examples/producers/SimpleProducer.cpp?rev=834997&r1=834996&r2=834997&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/producers/SimpleProducer.cpp (original) +++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/producers/SimpleProducer.cpp Wed Nov 11 18:15:03 2009 @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include #include #include @@ -115,7 +115,7 @@ producer->setDeliveryMode( DeliveryMode::NON_PERSISTENT ); // Create the Thread Id String - string threadIdStr = Integer::toString( Thread::getId() ); + string threadIdStr = Long::toString( Thread::getId() ); // Create a messages string text = (string)"Hello world! from thread " + threadIdStr; Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/ExpirationTest.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/ExpirationTest.cpp?rev=834997&r1=834996&r2=834997&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/ExpirationTest.cpp (original) +++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/ExpirationTest.cpp Wed Nov 11 18:15:03 2009 @@ -19,7 +19,7 @@ #include #include -#include +#include #include #include @@ -81,7 +81,7 @@ } // Create the Thread Id String - string threadIdStr = Integer::toString( Thread::getId() ); + string threadIdStr = Long::toString( Thread::getId() ); // Create a messages string text = (string)"Hello world! from thread " + threadIdStr;