From a1e14ea93c457023087e012357583000ccd53ac0 Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Wed, 9 Sep 2015 16:51:45 -0400 Subject: [PATCH] Add ULL to constants which overflow 32 bits --- ccutil/helpers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccutil/helpers.h b/ccutil/helpers.h index 480929c955..022a2c3066 100644 --- a/ccutil/helpers.h +++ b/ccutil/helpers.h @@ -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.