Mac gcc complains about mixing size_t, uint etc..

This was SVN commit r4285.
This commit is contained in:
dave
2006-09-01 06:59:29 +00:00
parent e8633554a5
commit 2bb1bde51e
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ template<> jsval ToJSVal<double>( double& Native )
template<> bool ToPrimitive<double>( JSContext* cx, jsval v, double& Storage )
{
JSBool ok = JS_ValueToNumber(cx, v, &Storage);
if (ok == JS_FALSE || !isfinite( Storage ) )
if (ok == JS_FALSE || !std::isfinite( Storage ) )
return false;
return true;
}