diff options
author | Leon Krause <lk@leonkrause.com> | 2019-01-20 00:12:50 +0100 |
---|---|---|
committer | Leon Krause <lk@leonkrause.com> | 2019-01-20 00:12:50 +0100 |
commit | 35466475fe538a8d9764a1f98f3ed896cd706041 (patch) | |
tree | c2c819f46791db6908a46fe3cea05f78efedbb5a /core | |
parent | 1efd37f1b77d71c652fe28a50f42c5284d5ef4ec (diff) |
Fix HTML5 build warning
Diffstat (limited to 'core')
-rw-r--r-- | core/math/random_pcg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/math/random_pcg.h b/core/math/random_pcg.h index d594d16b98..ef69bf7120 100644 --- a/core/math/random_pcg.h +++ b/core/math/random_pcg.h @@ -39,9 +39,9 @@ class RandomPCG { pcg32_random_t pcg; public: - static const uint64_t DEFAULT_SEED = 12047754176567800795ULL; + static const uint64_t DEFAULT_SEED = 12047754176567800795U; static const uint64_t DEFAULT_INC = PCG_DEFAULT_INC_64; - static const uint64_t RANDOM_MAX = 4294967295; + static const uint64_t RANDOM_MAX = 0xFFFFFFFF; RandomPCG(uint64_t seed = DEFAULT_SEED, uint64_t inc = PCG_DEFAULT_INC_64); |