fixed compiler warnings with Xcode 5.1
Merge pull request #5 from scopely/fix-compiler-warnings

fixed compiler warnings with Xcode 5.1