fixed warnings in Xcode 6
Merge pull request #1 from JALsnipe/master

Fixed warnings in Xcode 6