You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2008/11/13 01:57:00 UTC

svn commit: r713591 - /activemq/activemq-cpp/trunk/src/main/decaf/util/concurrent/TimeUnit.cpp

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.