From 673e8fa371d472841a7b2bcf552fcc728738ff42 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 12 Feb 2011 19:42:42 -0800 Subject: Revert an old Clang change that broke cydia.format(). --- MobileCydia.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MobileCydia.mm') diff --git a/MobileCydia.mm b/MobileCydia.mm index 832cd65..f7f0ee4 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -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(&values))] autorelease]; + return [[[NSString alloc] initWithFormat:format arguments:reinterpret_cast(values)] autorelease]; } - (NSString *) localizedStringForKey:(NSString *)key value:(NSString *)value table:(NSString *)table { -- cgit v1.2.3