Skip to content

Commit

Permalink
Merge pull request #556 from jverkoey/signed
Browse files Browse the repository at this point in the history
[pagingscrollview] Fix signed integer comparison warning.
  • Loading branch information
stephanemoore committed Jun 11, 2014
2 parents c4e3e33 + 730b226 commit 9425550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pagingscrollview/src/NIPagingScrollView.m
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 9425550

Please sign in to comment.