KEY_MAX is 511, which does not fit in a BYTE.
This commit is contained in:
parent
4ce42bcad2
commit
c18ec9c8e2
|
@ -775,7 +775,7 @@ static HRESULT WINAPI JoystickAImpl_EnumObjects(
|
|||
|
||||
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*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue