Fixed compiler warnings

Closes https://github.com/PistonDevelopers/input/issues/62