diff --git a/public/amtl/am-utility.h b/public/amtl/am-utility.h index d657fac1..55b182ac 100644 --- a/public/amtl/am-utility.h +++ b/public/amtl/am-utility.h @@ -224,7 +224,7 @@ static inline bool IsNaN(double v) { #ifdef _MSC_VER - return _isnan(v); + return !!_isnan(v); #else return isnan(v); #endif