activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r713591 - /activemq/activemq-cpp/trunk/src/main/decaf/util/concurrent/TimeUnit.cpp
Date Thu, 13 Nov 2008 00:57:00 GMT
Author: tabish
Date: Wed Nov 12 16:57:00 2008
New Revision: 713591

URL: http://svn.apache.org/viewvc?rev=713591&view=rev
Log:
AMQCPP-205

Fixing warnings found on windows build

Modified:
    activemq/activemq-cpp/trunk/src/main/decaf/util/concurrent/TimeUnit.cpp

Modified: activemq/activemq-cpp/trunk/src/main/decaf/util/concurrent/TimeUnit.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/decaf/util/concurrent/TimeUnit.cpp?rev=713591&r1=713590&r2=713591&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/decaf/util/concurrent/TimeUnit.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/decaf/util/concurrent/TimeUnit.cpp Wed Nov 12 16:57:00
2008
@@ -111,7 +111,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 void TimeUnit::timedWait( Synchronizable* obj, long long timeout ) const {
     if( timeout > 0 ) {
-        long ms = toMillis( timeout );
+        long long ms = toMillis( timeout );
         int ns = excessNanos( timeout, ms );
         obj->wait( (unsigned long)ms );
         // TODO - Only have a wait for Milliseconds currently.



Mime
View raw message