Fixed compiler warnings

Closes https://github.com/PistonDevelopers/input/issues/62
Merge pull request #63 from bvssvni/master

Fixed compiler warnings