dinput: Use variable of correct type to store HRESULT value.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2016-09-13 09:02:36 +02:00 committed by Alexandre Julliard
parent a388cc1ff9
commit 2a5f05e316

View File

@ -393,7 +393,8 @@ static HRESULT WINAPI IDirectInputAImpl_EnumDevices(
IDirectInputImpl *This = impl_from_IDirectInput7A(iface);
DIDEVICEINSTANCEA devInstance;
unsigned int i;
int j, r;
int j;
HRESULT r;
TRACE("(this=%p,0x%04x '%s',%p,%p,0x%04x)\n",
This, dwDevType, _dump_DIDEVTYPE_value(dwDevType, This->dwVersion),