Fixing Xcode 4.6 warnings.
Merge pull request #44 from square/fix-xcode-46-warnings

Fixing Xcode 4.6 warnings.