cocos2d/cocos2d-x — pull request #1089 by NatWeiss (2012-07-09 05:58:18+00:00)
Title: Fixes a few Xcode 4.5-specific error messages.

Using the newest Xcode 4.5, I get several errors (not warnings). For example, Xcode complains that it cannot convert -1 to an unsigned value. Simply casting the results of several expressions fixes the errors.