ieframe: Use ARRAY_SIZE for GetLongPathNameW.

Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Marcus Meissner 2020-02-12 12:27:50 +01:00 committed by Alexandre Julliard
parent da3a53ab20
commit 5587160c05

View file

@ -3973,7 +3973,7 @@ static void test_FileProtocol(void)
}
CloseHandle(file);
GetLongPathNameW(file_path, file_path, sizeof(file_path));
GetLongPathNameW(file_path, file_path, ARRAY_SIZE(file_path));
lstrcatW(file_url, file_path);
test_ConnectionPoint(webbrowser, TRUE);