xinput/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6ff4365fb3
commit
4fbd3a7c3a
|
@ -292,7 +292,7 @@ START_TEST(xinput)
|
|||
void *pXInputGetStateEx_Ordinal;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < sizeof(libs) / sizeof(libs[0]); i++)
|
||||
for (i = 0; i < ARRAY_SIZE(libs); i++)
|
||||
{
|
||||
hXinput = LoadLibraryA( libs[i].name );
|
||||
|
||||
|
|
Loading…
Reference in New Issue