Skip to content

Commit

Permalink
Fix issue of improper NSInteger casting
Browse files Browse the repository at this point in the history
  • Loading branch information
1and2papa committed Oct 15, 2015
1 parent e93ee86 commit 98fe504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CTAssetsPickerController/CTAssetsGridSelectedView.m
Expand Up @@ -155,7 +155,7 @@ - (void)setShowsSelectionIndex:(BOOL)showsSelectionIndex
- (void)setSelectionIndex:(NSUInteger)selectionIndex;
{
_selectionIndex = selectionIndex;
self.selectionIndexLabel.text = [NSString stringWithFormat:@"%lu", (unsigned long)selectionIndex + 1];
self.selectionIndexLabel.text = [NSString stringWithFormat:@"%lu", (unsigned long)(selectionIndex + 1)];
}


Expand Down

0 comments on commit 98fe504

Please sign in to comment.