summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-12 19:42:42 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-02-12 19:57:49 -0800
commit673e8fa371d472841a7b2bcf552fcc728738ff42 (patch)
tree7bc2f742b0842bc601d8be1ef192e1143712e9b2 /MobileCydia.mm
parent3707eb56b3f0ffbaca44fb7a616571270cdceaf7 (diff)
Revert an old Clang change that broke cydia.format().
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm2
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 {