Browse Source

Fixed build #675

Christophe Riccio 8 years ago
parent
commit
ec5b3fd897
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/detail/func_common.inl

+ 1 - 1
glm/detail/func_common.inl

@@ -195,7 +195,7 @@ namespace detail
 		GLM_FUNC_QUALIFIER static vec<L, T, Q> call(vec<L, T, Q> const& x)
 		{
 			T const Shift(static_cast<T>(sizeof(T) * 8 - 1));
-			vec<L, T, Q> const y(vec<L, typename make_unsigned<T>::type, P>(-x) >> typename make_unsigned<T>::type(Shift));
+			vec<L, T, Q> const y(vec<L, typename make_unsigned<T>::type, Q>(-x) >> typename make_unsigned<T>::type(Shift));
 
 			return (x >> Shift) | y;
 		}