Upgrade to Xcode 5.1.
Add a cast to fix a warning from Xcode 5.1.