X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/1df5f87f1309a8daa30dabdee855f48ae40d14ab..6fe7ccc865dc7d7541b93c5bcaf6368d2c98a174:/API/APICast.h?ds=sidebyside diff --git a/API/APICast.h b/API/APICast.h index 4294d3d..f019a7a 100644 --- a/API/APICast.h +++ b/API/APICast.h @@ -69,7 +69,7 @@ inline JSC::JSValue toJS(JSC::ExecState* exec, JSValueRef v) if (!jsCell) return JSC::JSValue(); if (jsCell->isAPIValueWrapper()) - return static_cast(jsCell)->value(); + return JSC::jsCast(jsCell)->value(); return jsCell; #else return JSC::JSValue::decode(reinterpret_cast(const_cast(v)));