Merge pull request #5 from totalgee/master

Fix compile warnings with Xcode/clang compiler