Boost logo

Boost :

From: Andy Tompkins (atompkins_at_[hidden])
Date: 2004-09-17 13:15:48


Hi,

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.

Thanks in advance for any help.
Andy.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk