Signed-off-by: Eric Pouech eric.pouech@gmail.com
--- 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;