fixed warnings on XCode5
Merge pull request #8 from mhama/fix

fixed warnings on XCode5