From 4b9e2d40281f10f62b4c983e94814528a1c8670d Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 16 Mar 2014 02:53:47 +0100 Subject: [PATCH] Fixed warnings --- glm/gtc/ulp.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/gtc/ulp.inl b/glm/gtc/ulp.inl index 6483be14..017b230c 100644 --- a/glm/gtc/ulp.inl +++ b/glm/gtc/ulp.inl @@ -214,7 +214,7 @@ namespace glm # if((GLM_LANG & GLM_LANG_CXX11_FLAG)) return std::nextafter(x, std::numeric_limits::max()); # elif((GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS))) - return detail::nextafterf(x, std::numeric_limits::max()); + return detail::nextafterf(x, std::numeric_limits::max()); # else return nextafter(x, DBL_MAX); # endif @@ -243,7 +243,7 @@ namespace glm GLM_FUNC_QUALIFIER double prev_float(double const & x) { # if((GLM_LANG & GLM_LANG_CXX11_FLAG)) - return std::nextafter(x, std::numeric_limits::min()); + return std::nextafter(x, std::numeric_limits::min()); # elif((GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS))) return _nextafter(x, DBL_MIN); # else