Fixed compiler warnings for upcoming version of Xcode
Merge pull request #1779 from synchromation/master

Fixed compiler warnings for upcoming version of Xcode