diff --git a/glm/detail/type_vec1.inl b/glm/detail/type_vec1.inl index 52a9b3a5..e8c91a4b 100644 --- a/glm/detail/type_vec1.inl +++ b/glm/detail/type_vec1.inl @@ -236,7 +236,7 @@ namespace glm template GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<1, T, Q> & vec<1, T, Q>::operator|=(vec<1, U, Q> const& v) { - this->x |= U(v.x); + this->x |= static_cast(v.x); return *this; }