Merge pull request #90 from tfmorris/32bitlong-overflow

Add ULL to constants which overflow 32 bits
This commit is contained in:
zdenop 2015-09-10 08:35:38 +02:00
commit f25d63ea91

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.