Opened 12 years ago
Closed 12 years ago
#4318 closed Support Requests (fixed)
warning C4244: 'initializing' : conversion from '__int64' to 'const long', possible loss of data
Reported by: | viboes | Owned by: | Anthony Williams |
---|---|---|---|
Milestone: | Boost 1.44.0 | Component: | thread |
Version: | Boost Development Trunk | Severity: | Cosmetic |
Keywords: | Cc: |
Description
The following warnings appears on msvc-9.0express:
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 'int64' to 'const long', possible loss of data
359 long const ticks_per_second=target_time.abs_time.time_of_day().ticks_per_second();
Shouldn't ticks_per_second be declared as having type ???::rep_type::tick_type?
Note:
See TracTickets
for help on using tickets.
Fixed on trunk