X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/b0ba908cc33ac5c4281ec27b5f42d560de67b713..50a3d79f79a223e8a119fe7531fd0a47ebd09d45:/Execute.cpp diff --git a/Execute.cpp b/Execute.cpp index 1c32d60..70751a4 100644 --- a/Execute.cpp +++ b/Execute.cpp @@ -425,7 +425,7 @@ const char *CYPoolCCYON(CYPool &pool, JSContextRef context, JSObjectRef object, JSValueRef toCYON(CYGetProperty(context, object, toCYON_s)); if (CYIsCallable(context, toCYON)) { // XXX: this needs to be abstracted behind some kind of function - JSValueRef arguments[1] = {CYCastJSValue(context, static_cast(reinterpret_cast(&objects)))}; + JSValueRef arguments[1] = {CYCastJSValue(context, reinterpret_cast(&objects))}; JSValueRef value(CYCallAsFunction(context, (JSObjectRef) toCYON, object, 1, arguments)); _assert(value != NULL); return CYPoolCString(pool, context, value);