Index: boost/random/linear_congruential.hpp =================================================================== --- boost/random/linear_congruential.hpp (revision 63283) +++ boost/random/linear_congruential.hpp (working copy) @@ -148,12 +148,12 @@ static const int log = ::boost::static_log2::value; static const int k = (log + ((~(static_cast(1) << log) & m)? 32 : 31)) / 32; - boost::uint32_t a[k + 3]; - seq.generate(&a[0], &a[0] + k + 3); + boost::uint32_t l[k + 3]; + seq.generate(&l[0], &l[0] + k + 3); IntType s = 0; IntType mul = 1; for(int j = 0; j < k; ++j) { - s = const_mod::mult_add(a[j + 3], mul, s); + s = const_mod::mult_add(l[j + 3], mul, s); mul <<= 32; } seed(s);