From 5f45476dc1b785ef5412e2d2f973c3caa764c0a8 Mon Sep 17 00:00:00 2001 From: Leon Krause Date: Fri, 5 Oct 2018 22:59:05 +0200 Subject: Fix warnings in HTML5 build outside platform files --- core/math/math_funcs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/math') 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); } -- cgit v1.2.3