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;

Change History (2)

comment:1 by viboes, 12 years ago

Seems to be a duplicate of #3862 future.hpp - conversion from size_t to unsigned int

comment:2 by Anthony Williams, 12 years ago

Resolution: fixed
Status: newclosed

Fixed on trunk

Note: See TracTickets for help on using tickets.