summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-03-01 18:59:24 +0100
committerGitHub <noreply@github.com>2017-03-01 18:59:24 +0100
commit68fe36ed26c82d58dd8dffb3c64fd8d3de9569ca (patch)
treea57acc9168f7a92bf10fbfc0691d2c27d7a6c453
parenta1cbe8e22bec516b138436d06282046466e89c79 (diff)
parent0e5863c86ae3513d09c17ff23e465156d65b47d1 (diff)
Merge pull request #7917 from lmbarros/master
Fix RANDOM_MAX, which is 2^32-1 with PCG32. [ci skip]
-rw-r--r--core/math/math_funcs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h
index da7d534a4e..ae461eda2e 100644
--- a/core/math/math_funcs.h
+++ b/core/math/math_funcs.h
@@ -50,7 +50,7 @@ public:
Math() {} // useless to instance
enum {
- RANDOM_MAX=2147483647L
+ RANDOM_MAX=4294967295L
};