]> git.saurik.com Git - cycript.git/commitdiff
Add some occasionally-missing @'s lost to type cast.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 12 Sep 2012 05:59:44 +0000 (22:59 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 12 Sep 2012 05:59:44 +0000 (22:59 -0700)
ObjectiveC/Library.mm

index 07015c026fb94858875227f1d6a28ccacc3bdda5..209f4e1324410f929a1fb605e21f791b7752b03d 100644 (file)
@@ -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<NSString *(*)(id, SEL)>(method_getImplementation(toCYON))(value, sel);
+            string = reinterpret_cast<NSString *(*)(id, SEL, bool)>(method_getImplementation(toCYON))(value, sel, objective);
         else if (objc_method *methodSignatureForSelector = class_getInstanceMethod(_class, @selector(methodSignatureForSelector:))) {
             if (reinterpret_cast<NSMethodSignature *(*)(id, SEL, SEL)>(method_getImplementation(methodSignatureForSelector))(value, @selector(methodSignatureForSelector:), sel) != nil)
                 string = [value cy$toCYON:objective];