Commit f60c4b99 authored by vitaut's avatar vitaut

Fix an MSVC warning (#234)

parent 0519737b
......@@ -261,7 +261,7 @@ class numeric_limits<fmt::internal::DummyInt> :
using namespace fmt::internal;
if (sizeof(isnan(x)) == sizeof(bool) || sizeof(isnan(x)) == sizeof(int))
return isnan(x);
return _isnan(x);
return _isnan(x) != 0;
}
// Portable version of signbit.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment