Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84960 - trunk/boost/thread
From: hartmut.kaiser_at_[hidden]
Date: 2013-07-06 14:51:54


Author: hkaiser
Date: 2013-07-06 14:51:54 EDT (Sat, 06 Jul 2013)
New Revision: 84960
URL: http://svn.boost.org/trac/boost/changeset/84960

Log:
Getting rid of 64bit warning generated by VS2012

Text files modified:
   trunk/boost/thread/barrier.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/thread/barrier.hpp
==============================================================================
--- trunk/boost/thread/barrier.hpp Sat Jul 6 13:59:55 2013 (r84959)
+++ trunk/boost/thread/barrier.hpp 2013-07-06 14:51:54 EDT (Sat, 06 Jul 2013) (r84960)
@@ -182,7 +182,7 @@
       if (--m_count == 0)
       {
         m_generation++;
- m_count = fct_();
+ m_count = static_cast<unsigned int>(fct_());
         BOOST_ASSERT(m_count != 0);
         m_cond.notify_all();
         return true;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk