diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-12 19:42:42 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-12 19:57:49 -0800 |
commit | 673e8fa371d472841a7b2bcf552fcc728738ff42 (patch) | |
tree | 7bc2f742b0842bc601d8be1ef192e1143712e9b2 | |
parent | 3707eb56b3f0ffbaca44fb7a616571270cdceaf7 (diff) |
Revert an old Clang change that broke cydia.format().
-rw-r--r-- | MobileCydia.mm | 2 |
1 files changed, 1 insertions, 1 deletions
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<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 { |