diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2012-07-24 20:30:18 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2012-07-24 20:30:18 +0000 |
commit | c980db4e60639ce7ae9443195a4f9b2b4b449351 (patch) | |
tree | a75513a764a370721b3e04faa084f100ac559de0 /UnitTesting/GTMNSObject+UnitTesting.m | |
parent | ba6b64fef26412fd664e22862d10d636194f8c75 (diff) |
[Author: dmaclach]
Clean up all of our format string issues amongst some other fun stuff.
R=thomasvl
DELTA=167 (90 added, 8 deleted, 69 changed)
Diffstat (limited to 'UnitTesting/GTMNSObject+UnitTesting.m')
-rw-r--r-- | UnitTesting/GTMNSObject+UnitTesting.m | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/UnitTesting/GTMNSObject+UnitTesting.m b/UnitTesting/GTMNSObject+UnitTesting.m index f72ba88..5de6d05 100644 --- a/UnitTesting/GTMNSObject+UnitTesting.m +++ b/UnitTesting/GTMNSObject+UnitTesting.m @@ -539,9 +539,10 @@ static NSString *gGTMUnitTestSaveToDirectory = nil; [GTMSystemVersion getMajor:&major minor:&minor bugFix:&bugFix]; NSString *systemVersions[4]; systemVersions[0] = [NSString stringWithFormat:@".%d.%d.%d", - major, minor, bugFix]; - systemVersions[1] = [NSString stringWithFormat:@".%d.%d", major, minor]; - systemVersions[2] = [NSString stringWithFormat:@".%d", major]; + (int)major, (int)minor, (int)bugFix]; + systemVersions[1] + = [NSString stringWithFormat:@".%d.%d", (int)major, (int)minor]; + systemVersions[2] = [NSString stringWithFormat:@".%d", (int)major]; systemVersions[3] = @""; // Architecture NSString *architecture[2]; @@ -620,7 +621,7 @@ static NSString *gGTMUnitTestSaveToDirectory = nil; // We don't include the CompilerSDK in here because it is not something that // that is commonly needed. NSString *fullName = [NSString stringWithFormat:@"%@.%d.%d.%d.%@", - name, major, minor, bugFix, systemArchitecture]; + name, (int)major, (int)minor, (int)bugFix, systemArchitecture]; NSString *basePath = [[self class] gtm_getUnitTestSaveToDirectory]; return [[basePath stringByAppendingPathComponent:fullName] |