Boost C++ Libraries: Ticket #4318: warning C4244: 'initializing' : conversion from '__int64' to 'const long', possible loss of data https://svn.boost.org/trac10/ticket/4318 <p> The following warnings appears on msvc-9.0express: </p> <p> compile-c-c++ ..\..\..\bin.v2\libs\thread\build\msvc-9.0express\debug\link-static\threading-multi\win32\thread.obj thread.cpp ..\..\..\libs\thread\src\win32\thread.cpp(359) : warning C4244: 'initializing' : conversion from '<span class="underline">int64' to 'const long', possible loss of data </span></p> <pre class="wiki">359 long const ticks_per_second=target_time.abs_time.time_of_day().ticks_per_second(); </pre><p> Shouldn't ticks_per_second be declared as having type ???::rep_type::tick_type? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4318 Trac 1.4.3 Anthony Williams Wed, 09 Jun 2010 08:21:34 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4318#comment:1 https://svn.boost.org/trac10/ticket/4318#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed on trunk </p> Ticket