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

This commit is contained in:
Marcus Meissner 2003-07-21 19:58:26 +00:00 committed by Alexandre Julliard
parent 4ce42bcad2
commit c18ec9c8e2
1 changed files with 1 additions and 1 deletions

View File

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