From d4717fb57e9bedde11ff655a1ed483e03ad11d53 Mon Sep 17 00:00:00 2001 From: kostromin Date: Fri, 21 Apr 2023 10:49:22 +0300 Subject: [PATCH] gcc x64 build warning fix around type casting size_t to int --- glm/detail/func_integer.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/detail/func_integer.inl b/glm/detail/func_integer.inl index 091e1e0c..b714c554 100644 --- a/glm/detail/func_integer.inl +++ b/glm/detail/func_integer.inl @@ -362,7 +362,7 @@ namespace detail { GLM_STATIC_ASSERT(std::numeric_limits::is_integer, "'findMSB' only accept integer values"); - return detail::compute_findMSB_vec::call(v); + return detail::compute_findMSB_vec(sizeof(T) * 8)>::call(v); } }//namespace glm