From 6f9a194c2c89c9a438067a3a067925ca475ef02b Mon Sep 17 00:00:00 2001 From: Groove Date: Sat, 18 Aug 2018 13:08:36 +0200 Subject: [PATCH] Fixed VC and C++98 warning --- glm/gtx/compatibility.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtx/compatibility.inl b/glm/gtx/compatibility.inl index fb7aee05..28b31f98 100644 --- a/glm/gtx/compatibility.inl +++ b/glm/gtx/compatibility.inl @@ -12,7 +12,7 @@ namespace glm # if GLM_HAS_CXX11_STL return std::isfinite(x) != 0; # elif GLM_COMPILER & GLM_COMPILER_VC - return _finite(x); + return _finite(x) != 0; # elif GLM_COMPILER & GLM_COMPILER_GCC && GLM_PLATFORM & GLM_PLATFORM_ANDROID return _isfinite(x) != 0; # else