From a4faeceb9955c07ef297849387ff3541d1351039 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sat, 29 Nov 2014 23:16:13 +0100 Subject: [PATCH] Fixed warnings --- glm/detail/func_integer.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/detail/func_integer.inl b/glm/detail/func_integer.inl index 88d5dab4..f84304e5 100644 --- a/glm/detail/func_integer.inl +++ b/glm/detail/func_integer.inl @@ -212,7 +212,7 @@ namespace detail GLM_FUNC_QUALIFIER vecType uaddCarry(vecType const & x, vecType const & y, vecType & Carry) { vecType Value64(vecType(x) + vecType(y)); - vecType Max32(static_cast(1) << static_cast(32) - static_cast(1)); + vecType Max32((static_cast(1) << static_cast(32)) - static_cast(1)); Carry = mix(vecType(0), vecType(1), greaterThan(Value64, Max32)); return vecType(Value64 % (Max32 + static_cast(1))); }