Fix HTML5 build warning

This commit is contained in:
Leon Krause 2019-01-20 00:12:50 +01:00
parent 1efd37f1b7
commit 35466475fe

View file

@ -39,9 +39,9 @@ class RandomPCG {
pcg32_random_t pcg; pcg32_random_t pcg;
public: 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 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); RandomPCG(uint64_t seed = DEFAULT_SEED, uint64_t inc = PCG_DEFAULT_INC_64);