From ac0c938442b7bf3f6fe42031465328446c63ed74 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 9 May 2012 22:39:17 +0100 Subject: [PATCH] Fixed VC warning --- glm/core/func_common.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/core/func_common.inl b/glm/core/func_common.inl index b97d89a6..0fe59277 100644 --- a/glm/core/func_common.inl +++ b/glm/core/func_common.inl @@ -809,7 +809,7 @@ namespace detail GLM_STATIC_ASSERT(detail::type::is_float, "'isnan' only accept floating-point inputs"); # if(GLM_COMPILER & GLM_COMPILER_VC) - return _isnan(x); + return _isnan(x) != 0; # elif(GLM_COMPILER & GLM_COMPILER_GCC) # if(GLM_PLATFORM & GLM_PLATFORM_ANDROID) return _isnan(x) != 0;