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:
parent
4905bc740d
commit
70996f49e3
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue