Skip to content

Commit

Permalink
Fix some errors flagged by the compiler.
Browse files Browse the repository at this point in the history
Conflicts:
	SMPageControl.h
  • Loading branch information
th-in-gs authored and jerryhjones committed Dec 13, 2013
1 parent d27f33a commit 9da7a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SMPageControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ - (void)_renderPages:(CGContextRef)context rect:(CGRect)rect
CGImageRef maskingImage = nil;
CGSize maskSize = CGSizeZero;

for (NSUInteger i = 0; i < _numberOfPages; i++) {
for (NSInteger i = 0; i < _numberOfPages; i++) {
NSNumber *indexNumber = @(i);

if (i == _displayedPage) {
Expand Down Expand Up @@ -298,7 +298,7 @@ - (void)_setImage:(UIImage *)image forPage:(NSInteger)pageIndex type:(SMPageCont
}
}

- (void)setImage:(UIImage *)image forPage:(NSInteger)pageIndex;
- (void)setImage:(UIImage *)image forPage:(NSInteger)pageIndex
{
[self _setImage:image forPage:pageIndex type:SMPageControlImageTypeNormal];
[self _updateMeasuredIndicatorSizes];
Expand Down

0 comments on commit 9da7a3e

Please sign in to comment.