Permalink
Browse files

Use correct data type when setting number of bounces

  • Loading branch information...
abecevello committed Jul 2, 2014
1 parent bb0226a commit a3d7b1e5bcfa9424002775fa3207debf9e94cf6a
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 a3d7b1e

Please sign in to comment.