Sebastian Lackner : dinput: Use variable of correct type to store HRESULT value.
Alexandre Julliard
julliard at winehq.org
Tue Sep 13 11:33:56 CDT 2016
Module: wine
Branch: master
Commit: 2a5f05e3160489a8d9ab09030523904186aa7e61
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2a5f05e3160489a8d9ab09030523904186aa7e61
Author: Sebastian Lackner <sebastian at 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 at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at 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),
More information about the wine-cvs
mailing list