Permalink
Browse files

Merge pull request #16 from abecevello/master

Use correct data type when setting number of bounces
  • Loading branch information...
2 parents bb0226a + a3d7b1e commit a2b38ae8f57e5108e92a3dc5a7a87e2e28527da9 @khanlou committed Jul 2, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 SKBounceAnimation/SKBounceAnimation.m
@@ -113,7 +113,7 @@ - (void) setDuration:(CFTimeInterval)newDuration {
}
- (void) setNumberOfBounces:(NSUInteger)newNumberOfBounces {
- [super setValue:[NSNumber numberWithUnsignedInt:newNumberOfBounces] forKey:@"numberOfBouncesKey"];
+ [super setValue:[NSNumber numberWithUnsignedInteger:newNumberOfBounces] forKey:@"numberOfBouncesKey"];
[self createValueArray];
}

0 comments on commit a2b38ae

Please sign in to comment.