From ec5b3fd897fb979341f150741b671534a90d39d5 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 30 Aug 2017 10:28:02 +0200 Subject: [PATCH] Fixed build #675 --- glm/detail/func_common.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/detail/func_common.inl b/glm/detail/func_common.inl index 23f44193..7bf0f737 100644 --- a/glm/detail/func_common.inl +++ b/glm/detail/func_common.inl @@ -195,7 +195,7 @@ namespace detail GLM_FUNC_QUALIFIER static vec call(vec const& x) { T const Shift(static_cast(sizeof(T) * 8 - 1)); - vec const y(vec::type, P>(-x) >> typename make_unsigned::type(Shift)); + vec const y(vec::type, Q>(-x) >> typename make_unsigned::type(Shift)); return (x >> Shift) | y; }