From: Jay Freeman (saurik) Date: Wed, 12 Sep 2012 05:59:44 +0000 (-0700) Subject: Add some occasionally-missing @'s lost to type cast. X-Git-Tag: v0.9.459~16 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/74988263ec918ea92b5593bb6c9d7cde57c661f2?ds=inline Add some occasionally-missing @'s lost to type cast. --- diff --git a/ObjectiveC/Library.mm b/ObjectiveC/Library.mm index 07015c0..209f4e1 100644 --- a/ObjectiveC/Library.mm +++ b/ObjectiveC/Library.mm @@ -422,7 +422,7 @@ NSString *CYCastNSCYON(id value, bool objective) { SEL sel(@selector(cy$toCYON:)); if (objc_method *toCYON = class_getInstanceMethod(_class, sel)) - string = reinterpret_cast(method_getImplementation(toCYON))(value, sel); + string = reinterpret_cast(method_getImplementation(toCYON))(value, sel, objective); else if (objc_method *methodSignatureForSelector = class_getInstanceMethod(_class, @selector(methodSignatureForSelector:))) { if (reinterpret_cast(method_getImplementation(methodSignatureForSelector))(value, @selector(methodSignatureForSelector:), sel) != nil) string = [value cy$toCYON:objective];