diff --git a/lib/V8/V8LineEditor.cpp b/lib/V8/V8LineEditor.cpp index 8c4ed76826..ceff30a067 100644 --- a/lib/V8/V8LineEditor.cpp +++ b/lib/V8/V8LineEditor.cpp @@ -318,7 +318,7 @@ class V8Completer : public Completer { v8::Handle args[] = {}; try { - v8::Handle cpls = func->Call(current, 0, &args); + v8::Handle cpls = func->Call(current, 0, args); if (cpls->IsArray()) { properties = v8::Handle::Cast(cpls); diff --git a/lib/V8/v8-vpack.cpp b/lib/V8/v8-vpack.cpp index aeb689bbfd..00e73d90ce 100644 --- a/lib/V8/v8-vpack.cpp +++ b/lib/V8/v8-vpack.cpp @@ -410,7 +410,7 @@ static int V8ToVPack(BuilderContext& context, v8::Handle::Cast(func); v8::Handle args[] = {}; - v8::Handle converted = toJson->Call(o, 0, &args); + v8::Handle converted = toJson->Call(o, 0, args); if (!converted.IsEmpty()) { // return whatever toJSON returned