diff --git a/src/avalanche.cpp b/src/avalanche.cpp --- a/src/avalanche.cpp +++ b/src/avalanche.cpp @@ -95,7 +95,8 @@ } // MMIX Linear Congruent Generator. - const uint64_t r1 = 6364136223846793005 * nodeid + 1442695040888963407; + const uint64_t r1 = + 6364136223846793005ull * nodeid + 1442695040888963407ull; // Fibonacci hashing. const uint64_t r2 = 11400714819323198485ull * (nodeid ^ seed); // Combine and extract hash.