mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 00:07:16 +00:00
packager/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
54960cd825
commit
41a1f7f750
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue