activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1516630 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/CmsSendWithAsyncCallbackTest.cpp
Date Thu, 22 Aug 2013 21:45:57 GMT
Author: tabish
Date: Thu Aug 22 21:45:57 2013
New Revision: 1516630

URL: http://svn.apache.org/r1516630
Log:
Fix warnings from vs2010

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/CmsSendWithAsyncCallbackTest.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/CmsSendWithAsyncCallbackTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/CmsSendWithAsyncCallbackTest.cpp?rev=1516630&r1=1516629&r2=1516630&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/CmsSendWithAsyncCallbackTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/CmsSendWithAsyncCallbackTest.cpp
Thu Aug 22 21:45:57 2013
@@ -91,7 +91,7 @@ namespace {
                 dynamic_cast<ActiveMQProducer*>(session->createProducer(destination.get())));
         producer->setDeliveryMode(DeliveryMode::PERSISTENT);
 
-        long start = System::currentTimeMillis();
+        long long start = System::currentTimeMillis();
 
         for (int i = 0; i < count; i++) {
             std::auto_ptr<cms::TextMessage> message(session->createTextMessage("Hello"));
@@ -110,7 +110,7 @@ namespace {
                 dynamic_cast<ActiveMQProducer*>(session->createProducer(destination.get())));
         producer->setDeliveryMode(DeliveryMode::PERSISTENT);
 
-        long start = System::currentTimeMillis();
+        long long start = System::currentTimeMillis();
 
         for (int i = 0; i < count; i++) {
             std::auto_ptr<cms::TextMessage> message(session->createTextMessage("Hello"));



Mime
View raw message