Skip to content

Commit

Permalink
Getting rid of 64bit warning generated by VS2012
Browse files Browse the repository at this point in the history
[SVN r84960]
  • Loading branch information
hkaiser committed Jul 6, 2013
1 parent cacb5b1 commit fe46155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/thread/barrier.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ namespace boost
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;
Expand Down

0 comments on commit fe46155

Please sign in to comment.