Fix build bustage on MSVC

This commit is contained in:
Luke Wagner 2010-06-30 18:05:19 -07:00
parent 8c46bea4d0
commit d1c1fdd62b
2 changed files with 2 additions and 1 deletions

View File

@ -442,7 +442,7 @@ JS_ValueToNumber(JSContext *cx, jsval v, jsdouble *dp)
JS_PUBLIC_API(JSBool)
JS_DoubleIsInt32(jsdouble d, jsint *ip)
{
return JSDOUBLE_IS_INT32(d, ip);
return JSDOUBLE_IS_INT32(d, (int32_t *)ip);
}
JS_PUBLIC_API(JSBool)

View File

@ -48,6 +48,7 @@
* - avoid copying
*/
#include "jsprvtd.h"
#include "jsstdint.h"
/*
* To avoid a circular dependency, pull in the necessary pieces of jsnum.h.