apple: Fix some warnings
apple: Fix stringWithFormat warnings
Merge pull request #1150 from lioncash/osx

Fix some warnings on OSX.