id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4327,"warning C4244: conversion from '__int64' to 'long', possible loss of data",viboes,Anthony Williams,"The following warning appears on msvc-9.0express: {{{ compile-c-c++ ..\..\..\bin.v2\libs\thread\test\test_condition_notify_one.test\msvc-9.0express\debug\threading-multi\test_condition_notify_one.obj test_condition_notify_one.cpp C:\cygwin\boost\trunk\boost/thread/win32/thread_data.hpp(171) : warning C4244: 'argument' : conversion from '__int64' to 'long', possible loss of data test_condition_notify_one.cpp(116) : see reference to function template instantiation 'void boost::this_thread::sleep>(const TimeDuration &)' being compiled with [ base_duration=boost::posix_time::time_duration, frac_of_second=0x03e8, TimeDuration=boost::date_time::subsecond_duration ] }}} The context is the call to pin_to_zero when the duration is stored on something larger than a long. {{{ template inline void sleep(TimeDuration const& rel_time) { interruptible_wait(detail::pin_to_zero(rel_time.total_milliseconds())); } }}} I guest that we need another pin_to_zero overloading or making the pin_to_zero generic. ",Bugs,closed,Boost 1.44.0,thread,Boost Development Trunk,Problem,fixed,,viboes