summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-10-06 12:51:58 +0200
committerGitHub <noreply@github.com>2018-10-06 12:51:58 +0200
commit86d384e95343f51a5ea724fd040173311fb337d3 (patch)
treea9d79951997e7b061239e289f18473734e13c734 /core
parentd2043fad67b000188d2cdea9ac1ca6abe9f92ab7 (diff)
parent5f45476dc1b785ef5412e2d2f973c3caa764c0a8 (diff)
Merge pull request #22783 from eska014/html5-warnings
Fix warnings in HTML5 build outside platform files
Diffstat (limited to 'core')
-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 472baf0484..9a486a49d0 100644
--- a/core/math/math_funcs.h
+++ b/core/math/math_funcs.h
@@ -46,7 +46,7 @@ class Math {
public:
Math() {} // useless to instance
- static const uint64_t RANDOM_MAX = 4294967295;
+ static const uint64_t RANDOM_MAX = 0xFFFFFFFF;
static _ALWAYS_INLINE_ double sin(double p_x) { return ::sin(p_x); }
static _ALWAYS_INLINE_ float sin(float p_x) { return ::sinf(p_x); }