Skip to content

Commit

Permalink
Updated uncompressedSize and compressedSize properties of UZKFileInfo…
Browse files Browse the repository at this point in the history
… to match the 64-bit version of the file info (Issue #37)
  • Loading branch information
abbeycode committed Aug 10, 2016
1 parent 5589d32 commit 5f43698
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/UZKArchive.m
Original file line number Diff line number Diff line change
Expand Up @@ -1739,7 +1739,7 @@ - (BOOL)openFile:(NSError * __autoreleasing*)error
}


- (NSData *)readFile:(NSString *)filePath length:(NSUInteger)length error:(NSError * __autoreleasing*)error {
- (NSData *)readFile:(NSString *)filePath length:(unsigned long long int)length error:(NSError * __autoreleasing*)error {
if (![self openFile:error]) {
return nil;
}
Expand Down
4 changes: 2 additions & 2 deletions Source/UZKFileInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ typedef NS_ENUM(NSInteger, UZKCompressionMethod) {
/**
* Size of the uncompressed file
*/
@property (readonly) NSUInteger uncompressedSize;
@property (readonly) unsigned long long int uncompressedSize;

/**
* Size of the compressed file
*/
@property (readonly) NSUInteger compressedSize;
@property (readonly) unsigned long long int compressedSize;

/**
* YES if the file will be continued of the next volume
Expand Down

0 comments on commit 5f43698

Please sign in to comment.