src/joystick/linux/SDL_sysjoystick.c
branchSDL-1.2
changeset 4394 42012a6afb5b
parent 4352 c8bf421431f9
child 5082 4c3c2599559b
--- a/src/joystick/linux/SDL_sysjoystick.c	Mon Dec 14 22:41:31 2009 +0000
+++ b/src/joystick/linux/SDL_sysjoystick.c	Thu Dec 17 14:33:00 2009 +0000
@@ -700,7 +700,7 @@
 				continue;
 			}
 			if ( test_bit(i, absbit) ) {
-				int values[5];
+				int values[6];
 
 				if ( ioctl(fd, EVIOCGABS(i), values) < 0 )
 					continue;