From 308559444cd5b98a3eefd219ffb94ab8111117c8 Mon Sep 17 00:00:00 2001 From: learn_more Date: Sat, 31 Aug 2013 16:00:27 +0200 Subject: [PATCH] Disable warnings --- Sources/Core/Math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Core/Math.h b/Sources/Core/Math.h index 8c48bdf2..587b8c38 100644 --- a/Sources/Core/Math.h +++ b/Sources/Core/Math.h @@ -394,7 +394,7 @@ namespace spades { return Vector3::Make(x, y, z); } static inline Vector3 MakeVector3(IntVector3 v) { - return Vector3::Make(v.x, v.y, v.z); + return Vector3::Make( static_cast(v.x), static_cast(v.y), static_cast(v.z)); } static inline Vector4 MakeVector4(float x, float y, float z, float w) { return Vector4::Make(x, y, z, w);