PATCH: dinput/joystick small bugfix

Marcus Meissner marcus at jet.franken.de
Sat Jul 19 08:29:46 CDT 2003


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*/
 



More information about the wine-patches mailing list