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

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Michael Stefaniuc 2018-06-02 01:54:24 +02:00 committed by Alexandre Julliard
parent 54960cd825
commit 41a1f7f750
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ static void test_packager(void)
ok(hr == S_OK, "Load failed: %08x\n", hr);
if(extended){
len = GetTempPathW(sizeof(filename) / sizeof(*filename), filename);
len = GetTempPathW(ARRAY_SIZE(filename), filename);
lstrcpyW(filename + len, filename3W);
file = CreateFileW(filename, GENERIC_READ, 0, NULL, OPEN_EXISTING,