joy.cpl: Use correct integral type.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-01-31 14:16:38 +01:00 committed by Alexandre Julliard
parent 7e90d60233
commit 1c374a7c51
1 changed files with 1 additions and 1 deletions

View File

@ -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;