Signed-off-by: Arkadiusz Hiler ahiler@codeweavers.com --- dlls/dinput/tests/joystick8.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dlls/dinput/tests/joystick8.c b/dlls/dinput/tests/joystick8.c index d06b56cbf8c..dd06b1b5185 100644 --- a/dlls/dinput/tests/joystick8.c +++ b/dlls/dinput/tests/joystick8.c @@ -2311,6 +2311,9 @@ static BOOL test_device_types( DWORD version ) }, };
+ C_ASSERT(ARRAY_SIZE(expect_caps) == ARRAY_SIZE(device_desc)); + C_ASSERT(ARRAY_SIZE(expect_devinst) == ARRAY_SIZE(device_desc)); + DIDEVICEINSTANCEW devinst = {.dwSize = sizeof(DIDEVICEINSTANCEW)}; DIDEVCAPS caps = {.dwSize = sizeof(DIDEVCAPS)}; WCHAR cwd[MAX_PATH], tempdir[MAX_PATH];