Skip to content

Commit 0e55a96

Browse files
authored
Merge pull request #77 from futuretap/master
Fixed UB warning in -hash
2 parents ca47649 + a9b7e61 commit 0e55a96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

TLIndexPathTools/Data Model/TLIndexPathItem.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ + (NSArray *)identifiersForIndexPathItems:(NSArray *)indexPathItems
4949

5050
- (NSUInteger)hash
5151
{
52-
NSInteger hash = 0;
52+
NSUInteger hash = 0;
5353
hash += 31 * hash + [self.identifier hash];
5454
hash += 31 * hash + [self.sectionName hash];
5555
hash += 31 * hash + [self.cellIdentifier hash];

0 commit comments

Comments
 (0)