18 Sep
                
                    2004
                
            
            
                18 Sep
                
                '04
                
            
            
            
        
    
                12:24 p.m.
            
        Andy Tompkins wrote:
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.
This is fixed in the upcoming 1.32.0 release. Stefan