Skip to content

Commit 793c29d

Browse files
committed
Fixed problem with losing precision on max entry count
1 parent d756f28 commit 793c29d

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)