Skip to content
Snippets Groups Projects
Commit 3ad2317e authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix error in previous commit that switch to GetInstancePrivate()

parent 4f635114
No related branches found
No related tags found
No related merge requests found
......@@ -2411,7 +2411,7 @@ static JSBool js_file_get(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
off_t lng;
int in;
if((p=(private_t*)JS_GetInstancePrivate(cx, obj, NULL, NULL))==NULL)
if((p=(private_t*)JS_GetPrivate(cx, obj))==NULL)
return(JS_TRUE);
JS_IdToValue(cx, id, &idval);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment