[Bug 446229] Fixing GCC conversion warnings within SpiderMonkey. r=brendan

This commit is contained in:
Igor Bukanov
2008-07-20 14:53:21 +02:00
parent 47c7bf6e90
commit 65884fee82
9 changed files with 30 additions and 28 deletions

View File

@@ -7794,8 +7794,8 @@ js_GetFunctionNamespace(JSContext *cx, jsval *vp)
* refer to this instance in scripts. When used to qualify method
* names, its prefix and uri references are copied to the QName.
*/
OBJ_SET_PROTO(cx, obj, NULL);
OBJ_SET_PARENT(cx, obj, NULL);
OBJ_CLEAR_PROTO(cx, obj);
OBJ_CLEAR_PARENT(cx, obj);
JS_LOCK_GC(rt);
if (!rt->functionNamespaceObject)
@@ -8282,7 +8282,7 @@ js_InitXMLFilterClass(JSContext *cx, JSObject *obj)
if (!proto)
return NULL;
OBJ_SET_PROTO(cx, proto, NULL);
OBJ_CLEAR_PROTO(cx, proto);
return proto;
}