fixed warning with XCode 6.0
Merge pull request #119 from marcopifferi/master

fixed warning with XCode 6.0