From b4c9bde3fb08783cacefaf57486b7c79ae821acd Mon Sep 17 00:00:00 2001 From: Sam Soffes Date: Sat, 22 Mar 2014 08:01:08 -0700 Subject: [PATCH] Fix warnings on 64-bit --- Tests/SSZipArchiveTests.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/SSZipArchiveTests.m b/Tests/SSZipArchiveTests.m index 8ee8eed..df43385 100644 --- a/Tests/SSZipArchiveTests.m +++ b/Tests/SSZipArchiveTests.m @@ -275,16 +275,16 @@ - (void)zipArchiveWillUnzipFileAtIndex:(NSInteger)fileIndex totalFiles:(NSInteger)totalFiles archivePath:(NSString *)archivePath fileInfo:(unz_file_info)fileInfo { - NSLog(@"*** zipArchiveWillUnzipFileAtIndex: `%d` totalFiles: `%d` archivePath: `%@` fileInfo:", fileIndex, totalFiles, archivePath); + NSLog(@"*** zipArchiveWillUnzipFileAtIndex: `%d` totalFiles: `%d` archivePath: `%@` fileInfo:", (int)fileIndex, (int)totalFiles, archivePath); } - (void)zipArchiveDidUnzipFileAtIndex:(NSInteger)fileIndex totalFiles:(NSInteger)totalFiles archivePath:(NSString *)archivePath fileInfo:(unz_file_info)fileInfo { - NSLog(@"*** zipArchiveDidUnzipFileAtIndex: `%d` totalFiles: `%d` archivePath: `%@` fileInfo:", fileIndex, totalFiles, archivePath); + NSLog(@"*** zipArchiveDidUnzipFileAtIndex: `%d` totalFiles: `%d` archivePath: `%@` fileInfo:", (int)fileIndex, (int)totalFiles, archivePath); } - (void)zipArchiveProgressEvent:(NSInteger)loaded total:(NSInteger)total { - NSLog(@"*** zipArchiveProgressEvent: loaded: `%d` total: `%d`", loaded, total); + NSLog(@"*** zipArchiveProgressEvent: loaded: `%d` total: `%d`", (int)loaded, (int)total); [progressEvents addObject:[[NSNumber alloc] initWithInteger:loaded]]; }