Report file size as unsigned long long to delegate

This commit is contained in:
Lukas Mollidor
2014-09-12 19:11:46 +02:00
parent 60f577ab9a
commit 54875c8192
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -56,8 +56,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);