Merge pull request #113 from iosphere/zipArchiveProgressEvent-type

Report file size as unsigned long long to delegate
This commit is contained in:
Douglas Bumby
2015-04-06 14:59:07 -04:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -93,8 +93,8 @@
}
NSDictionary * fileAttributes = [[NSFileManager defaultManager] attributesOfItemAtPath:path error:nil];
ZPOS64_T fileSize = fileAttributes.fileSize;
ZPOS64_T currentPosition = 0;
unsigned long long fileSize = [[fileAttributes objectForKey:NSFileSize] unsignedLongLongValue];
unsigned long long currentPosition = 0;
unz_global_info globalInfo = {0ul, 0ul};
unzGetGlobalInfo(zip, &globalInfo);