Boost logo

Boost Users :

From: Andy Tompkins (atompkins_at_[hidden])
Date: 2004-08-12 14:20:15


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-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