Boost logo

Boost Users :

From: Jeff Garland (jeff_at_[hidden])
Date: 2006-10-01 12:58:14


Arkadiy Vertleyb wrote:
> Hi,
>
> I am getting a few "possible loss of data" warnings while using the datetime
> library. For example, VC8 complains about the following code in
> microsec_clock.hpp:
>
> boost::uint64_t filetime = ...
> ...
> boost::uint32_t sub_sec = (filetime % 10000000) / 10; // microseconds
>
> The compiler also complains about similar issue in from_ftime.
>
> Is this a known issue?

Yes..this has already been fixed for 1.34.

Jeff


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net