Skip to content

Commit

Permalink
[pagingscrollview] Fix signed integer comparison warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanemoore committed Jun 11, 2014
1 parent c4e3e33 commit 730b226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pagingscrollview/src/NIPagingScrollView.m
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ - (void)updateVisiblePagesShouldNotifyDelegate:(BOOL)shouldNotifyDelegate {

// Add missing pages.
for (NSUInteger pageIndex = rangeOfVisiblePages.location;
pageIndex < (NSInteger)NSMaxRange(rangeOfVisiblePages); ++pageIndex) {
pageIndex < NSMaxRange(rangeOfVisiblePages); ++pageIndex) {
if (![self isDisplayingPageForIndex:pageIndex]) {
[self displayPageAtIndex:pageIndex];
}
Expand Down

0 comments on commit 730b226

Please sign in to comment.