From e13e1477991fcac5e3b868a0fa8cf218b8644598 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sat, 5 Oct 2013 14:07:38 +0200 Subject: [PATCH] Uses a C++ cast instead of a C cast --- glm/core/func_exponential.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/core/func_exponential.inl b/glm/core/func_exponential.inl index 1524b63e..9c03129e 100644 --- a/glm/core/func_exponential.inl +++ b/glm/core/func_exponential.inl @@ -93,7 +93,7 @@ namespace glm std::numeric_limits::is_iec559, "'exp2' only accept floating-point inputs"); - return std::exp(genType(0.69314718055994530941723212145818) * x); + return std::exp(static_cast(0.69314718055994530941723212145818) * x); } VECTORIZE_VEC(exp2)