Bug 441303 - jsutil.cpp does not compile with Visual Studio 2003. r=crowder

This commit is contained in:
Robert Longson 2008-06-25 15:06:43 +01:00
parent 998d3d0b7a
commit 524529369e

View File

@ -89,7 +89,7 @@ BinToVal(uintN logscale, uintN bin)
if (logscale == 2)
return JS_BIT(bin);
JS_ASSERT(logscale == 10);
return (uint32) pow(10, (double) bin);
return (uint32) pow(10.0, (double) bin);
}
static uintN