Commit 4fbd3a7c authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

xinput/tests: Use the available ARRAY_SIZE() macro.

parent 6ff4365f
...@@ -292,7 +292,7 @@ START_TEST(xinput) ...@@ -292,7 +292,7 @@ START_TEST(xinput)
void *pXInputGetStateEx_Ordinal; void *pXInputGetStateEx_Ordinal;
int i; 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 ); hXinput = LoadLibraryA( libs[i].name );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment