From: Jay Freeman (saurik) Date: Mon, 4 Oct 2010 11:11:44 +0000 (-0700) Subject: Prefer C++ constructor to C initializer in old main(). X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/bf50bdfae66349ce234174c713f1237185e80a19?hp=d5f224e73bc58f4b830a410bb8ea6f70a7e584d3 Prefer C++ constructor to C initializer in old main(). --- diff --git a/Cydia.mm b/Cydia.mm index ee8c7d6c..87f28993 100644 --- 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_);