Module: wine Branch: master Commit: 2a5f05e3160489a8d9ab09030523904186aa7e61 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2a5f05e3160489a8d9ab090305...
Author: Sebastian Lackner sebastian@fds-team.de Date: Tue Sep 13 09:02:36 2016 +0200
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
---
dlls/dinput/dinput_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/dinput/dinput_main.c b/dlls/dinput/dinput_main.c index 2933eb1..06af92f 100644 --- a/dlls/dinput/dinput_main.c +++ b/dlls/dinput/dinput_main.c @@ -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),