Eric Pouech : joy.cpl: Use correct integral type.

Alexandre Julliard julliard at winehq.org
Mon Jan 31 15:55:19 CST 2022


Module: wine
Branch: master
Commit: 1c374a7c51eade2b0d6f03b363873b0acf73ff6c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1c374a7c51eade2b0d6f03b363873b0acf73ff6c

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Mon Jan 31 14:16:38 2022 +0100

joy.cpl: Use correct integral type.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/joy.cpl/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/joy.cpl/main.c b/dlls/joy.cpl/main.c
index 081dcf2dc74..8ea3892b750 100644
--- a/dlls/joy.cpl/main.c
+++ b/dlls/joy.cpl/main.c
@@ -789,7 +789,7 @@ static BOOL CALLBACK ff_effects_callback(const DIEFFECTINFOW *pdei, void *pvRef)
     HRESULT hr;
     DIEFFECT dieffect;
     DWORD axes[2] = {DIJOFS_X, DIJOFS_Y};
-    int direction[2] = {0, 0};
+    LONG direction[2] = {0, 0};
     int num_axes = 2;
     struct Joystick *joystick = pvRef;
     DIRAMPFORCE rforce;




More information about the wine-cvs mailing list