PATCH: dinput/joystick small bugfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Changelog:
	MAX_KEYS is 511 in my headers, which does not fit in a BYTE.

Index: dlls/dinput/joystick/linuxinput.c
===================================================================
RCS file: /home/wine/wine/dlls/dinput/joystick/linuxinput.c,v
retrieving revision 1.16
diff -u -r1.16 linuxinput.c
--- dlls/dinput/joystick/linuxinput.c	16 Jun 2003 20:22:13 -0000	1.16
+++ dlls/dinput/joystick/linuxinput.c	19 Jul 2003 13:28:36 -0000
@@ -775,7 +775,7 @@
 
   if ((dwFlags == DIDFT_ALL) ||
       (dwFlags & DIDFT_BUTTON)) {
-    BYTE i;
+    int i;
 
     /*The DInput SDK says that GUID_Button is only for mouse buttons but well*/
 


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux