Commit c18ec9c8 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

KEY_MAX is 511, which does not fit in a BYTE.

parent 4ce42bca
...@@ -775,7 +775,7 @@ static HRESULT WINAPI JoystickAImpl_EnumObjects( ...@@ -775,7 +775,7 @@ static HRESULT WINAPI JoystickAImpl_EnumObjects(
if ((dwFlags == DIDFT_ALL) || if ((dwFlags == DIDFT_ALL) ||
(dwFlags & DIDFT_BUTTON)) { (dwFlags & DIDFT_BUTTON)) {
BYTE i; int i;
/*The DInput SDK says that GUID_Button is only for mouse buttons but well*/ /*The DInput SDK says that GUID_Button is only for mouse buttons but well*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment