Add ULL to constants which overflow 32 bits

This commit is contained in:
Tom Morris 2015-09-09 16:51:45 -04:00
parent 73b28982aa
commit a1e14ea93c

View File

@ -61,8 +61,8 @@ class TRand {
private:
// Steps the generator to the next value.
void Iterate() {
seed_ *= 6364136223846793005;
seed_ += 1442695040888963407;
seed_ *= 6364136223846793005ULL;
seed_ += 1442695040888963407ULL;
}
// The current value of the seed.