Use correct data type when setting number of bounces #16

Merged
merged 1 commit into from Jul 2, 2014

Conversation

Projects
None yet
2 participants
Contributor

abecevello commented Jul 2, 2014

In our project we have directly imported the SKBounceAnimation.{h,m} files into our project. We recently turned on additional compiler warnings in our project and discovered a implicit conversion warning in SKBounceAnimation.m. This PR fixes the one case where this warning happens.

It appears this warning only happens when compiling using the Standard Architectures setting in Xcode 5.1 with a 64-bit device connected (like an iPad Air). On 64-bit unsigned int is different from NSUInteger.

@khanlou khanlou added a commit that referenced this pull request Jul 2, 2014

@khanlou khanlou Merge pull request #16 from abecevello/master
Use correct data type when setting number of bounces
a2b38ae

@khanlou khanlou merged commit a2b38ae into khanlou:master Jul 2, 2014

Owner

khanlou commented Jul 2, 2014

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment