]> git.saurik.com Git - cydia.git/commitdiff
Revert an old Clang change that broke cydia.format().
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 13 Feb 2011 03:42:42 +0000 (19:42 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 13 Feb 2011 03:57:49 +0000 (19:57 -0800)
MobileCydia.mm

index 832cd654cd42ee421d2aac9a7f2e0c858226099d..f7f0ee47bffc08412a7b1f78dc7f1c0b37d71bbe 100644 (file)
@@ -3929,7 +3929,7 @@ static NSString *Warning_;
     id values[count];
     for (unsigned i(0); i != count; ++i)
         values[i] = [arguments objectAtIndex:i];
-    return [[[NSString alloc] initWithFormat:format arguments:*(reinterpret_cast<va_list *>(&values))] autorelease];
+    return [[[NSString alloc] initWithFormat:format arguments:reinterpret_cast<va_list>(values)] autorelease];
 }
 
 - (NSString *) localizedStringForKey:(NSString *)key value:(NSString *)value table:(NSString *)table {