]> git.saurik.com Git - cydia.git/commitdiff
Prefer C++ constructor to C initializer in old main().
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 4 Oct 2010 11:11:44 +0000 (04:11 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 4 Oct 2010 11:13:11 +0000 (04:13 -0700)
Cydia.mm

index ee8c7d6cab0ec3e513af4dcf4f29f3962786feab..87f289938a22b32d1ceee61119f8f38849871d99 100644 (file)
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -8944,7 +8944,7 @@ int main(int argc, char *argv[]) { _pooled
     Warning_ = UCLocalize("WARNING");
 
     _trace();
-    int value = UIApplicationMain(argc, argv, @"Cydia", @"Cydia");
+    int value(UIApplicationMain(argc, argv, @"Cydia", @"Cydia"));
 
     CGColorSpaceRelease(space_);
     CFRelease(Locale_);