diff -Naur a/SDL2-2.0.5/src/core/linux/SDL_evdev.c b/SDL2-2.0.5/src/core/linux/SDL_evdev.c --- a/SDL2-2.0.5/src/core/linux/SDL_evdev.c 2016-10-19 21:56:26.000000000 -0600 +++ b/SDL2-2.0.5/src/core/linux/SDL_evdev.c 2017-01-05 15:38:47.350819207 -0700 @@ -142,7 +142,7 @@ }; static int SDL_EVDEV_is_console(int fd) { - int type; + char type; return isatty(fd) && ioctl(fd, KDGKBTYPE, &type) == 0 && (type == KB_101 || type == KB_84);