Fixed build #675

This commit is contained in:
Christophe Riccio 2017-08-30 10:28:02 +02:00
parent e8e8d3607c
commit ec5b3fd897

View File

@ -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;
}