Subject: [Boost-bugs] [Boost C++ Libraries] #4076: future.hpp(411) : warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-04-08 12:41:11
#4076: future.hpp(411) : warning C4267: 'initializing' : conversion from 'size_t'
to 'unsigned int', possible loss of data
--------------------------+-------------------------------------------------
Reporter: anonymous | Owner: anthonyw
Type: Patches | Status: new
Milestone: Boost 1.43.0 | Component: thread
Version: Boost 1.42.0 | Severity: Cosmetic
Keywords: |
--------------------------+-------------------------------------------------
Visual Studio 2005 generates a the warning in the subject.
In future.hpp in the struct all_futures_lock, change the definition of
count from
{{{
unsigned count;
}}}
to
{{{
std::vector<registered_waiter>::size_type count;
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4076> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC