wintrust: Use the ARRAY_SIZE() macro.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-04-29 21:13:22 +02:00 committed by Alexandre Julliard
parent 4905bc740d
commit 70996f49e3
1 changed files with 1 additions and 1 deletions

View File

@ -1211,7 +1211,7 @@ static void test_wintrust_digest(void)
BOOL ret; BOOL ret;
int i, j; int i, j;
for (i = 0; i < sizeof(tests)/sizeof(tests[0]); i++) for (i = 0; i < ARRAY_SIZE(tests); i++)
{ {
file = create_temp_file(pathW); file = create_temp_file(pathW);
ok(file != INVALID_HANDLE_VALUE, "failed to create temporary file\n"); ok(file != INVALID_HANDLE_VALUE, "failed to create temporary file\n");