Avoid integer division in NewGCThing path (503157, r=jwalden).

This commit is contained in:
Andreas Gal
2009-07-14 17:06:09 -07:00
parent 82c548b95e
commit f73f4793ca
19 changed files with 246 additions and 242 deletions

View File

@@ -2199,7 +2199,7 @@ js_NewDateObjectMsec(JSContext *cx, jsdouble msec_time)
JSObject *obj;
jsdouble *date;
obj = js_NewObject(cx, &js_DateClass, NULL, NULL, 0);
obj = js_NewObject(cx, &js_DateClass, NULL, NULL);
if (!obj)
return NULL;