diff --git a/glm/detail/type_vec1.inl b/glm/detail/type_vec1.inl index c5883ceb..2d17e6bd 100644 --- a/glm/detail/type_vec1.inl +++ b/glm/detail/type_vec1.inl @@ -234,7 +234,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; }