diff --git a/src/joystick/linux/SDL_sysjoystick.c b/src/joystick/linux/SDL_sysjoystick.c --- a/src/joystick/linux/SDL_sysjoystick.c +++ b/src/joystick/linux/SDL_sysjoystick.c @@ -700,7 +700,7 @@ continue; } if ( test_bit(i, absbit) ) { - int values[5]; + int values[6]; if ( ioctl(fd, EVIOCGABS(i), values) < 0 ) continue;