From: Stefan Slapeta (stefan_nospam__at_[hidden])
Date: 2004-09-18 05:24:50
Andy Tompkins wrote:
> I have a question about the random library. I'm using vc7.1 and I'm getting
> a warning when I include the random library.
> The warning I get when I, #include <boost\random.hpp> is:
> d:\includes\boost_1_31_0\boost\random\linear_congruential.hpp(233) : warning
> C4244: 'return' : conversion from 'boost::uint64_t' to 'boost::int32_t',
> possible loss of data
> When I look at the file, rand48::operator() returns an int32_t, but lcf is
> defined with uint64_t.
This is fixed in the upcoming 1.32.0 release.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk