Skip to content

Commit 925ee66

Browse files
committed
Merge pull request #59 from cipherCOM/master
Losing precision on maximum entry count
2 parents 9cf3210 + 793c29d commit 925ee66

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

FastImageCache/FICImageTable.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,8 @@ - (BOOL)entryExistsForEntityUUID:(NSString *)entityUUID sourceImageUUID:(NSStrin
461461

462462
#pragma mark - Working with Entries
463463

464-
- (int)_maximumCount {
465-
return (int)MAX([_imageFormat maximumCount], _entriesPerChunk);
464+
- (NSInteger)_maximumCount {
465+
return MAX([_imageFormat maximumCount], _entriesPerChunk);
466466
}
467467

468468
- (void)_setEntryCount:(NSInteger)entryCount {

0 commit comments

Comments
 (0)