Opened 13 years ago
Closed 12 years ago
#4076 closed Patches (fixed)
future.hpp(411) : warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data
Reported by: | anonymous | Owned by: | Anthony Williams |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | thread |
Version: | Boost 1.42.0 | Severity: | Cosmetic |
Keywords: | Cc: |
Description
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;
Note:
See TracTickets
for help on using tickets.
Seems to be a duplicate of #3862 future.hpp - conversion from size_t to unsigned int