Fix a warning in func_integer.inl

The lack of parenthesis triggered -Wshift-op-parentheses in Clang 3.2
This commit is contained in:
Corentin Wallez 2013-01-30 08:06:14 +00:00
parent a4aa39f9bd
commit 0be0a2cb41

View File

@ -103,7 +103,7 @@ namespace glm
if(x > y) if(x > y)
return genUType(detail::highp_int_t(x) - detail::highp_int_t(y)); return genUType(detail::highp_int_t(x) - detail::highp_int_t(y));
else else
return genUType(detail::highp_int_t(1) << detail::highp_int_t(32) + detail::highp_int_t(x) - detail::highp_int_t(y)); return genUType((detail::highp_int_t(1) << detail::highp_int_t(32)) + detail::highp_int_t(x) - detail::highp_int_t(y));
} }
template <typename T> template <typename T>