From 3e5a9f5d3097f16c99b57d476c986e13325762c5 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 16 May 2014 20:26:07 -0700 Subject: Port build environment to Xcode 5.0.2 (iOS 7 SDK). --- MobileCydia.mm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'MobileCydia.mm') diff --git a/MobileCydia.mm b/MobileCydia.mm index 555cb0a..79163ba 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -38,7 +38,6 @@ #include #endif -#include #include #include @@ -5024,7 +5023,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { reason = @"virtual"; } - NSDictionary *version(start.TargetVer() == 0 ? [NSNull null] : [NSDictionary dictionaryWithObjectsAndKeys: + NSDictionary *version(start.TargetVer() == 0 ? (NSDictionary *) [NSNull null] : [NSDictionary dictionaryWithObjectsAndKeys: [NSString stringWithUTF8String:start.CompType()], @"operator", [NSString stringWithUTF8String:start.TargetVer()], @"value", nil]); @@ -5893,7 +5892,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { section_ = [section localized]; name_ = section_ == nil || [section_ length] == 0 ? UCLocalize("NO_SECTION") : (NSString *) section_; - count_ = [NSString stringWithFormat:@"%d", [section count]]; + count_ = [NSString stringWithFormat:@"%zd", [section count]]; if (editing_) [switch_ setOn:(isSectionVisible(basic_) ? 1 : 0) animated:NO]; -- cgit v1.2.3