shell32: Use characters as arguments to GetTempPathW and GetLongPathNameW.

Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Marcus Meissner 2018-06-26 07:43:14 +02:00 committed by Alexandre Julliard
parent b9c67d304a
commit 52e27fae47
1 changed files with 2 additions and 2 deletions

View File

@ -244,8 +244,8 @@ todo_wine_if(parse_tests[i].todo)
CoTaskMemFree(pidl);
/* Relative paths are interpreted relative to the desktop. */
GetTempPathW(sizeof(buffer), buffer);
GetLongPathNameW(buffer, buffer, sizeof(buffer));
GetTempPathW(ARRAY_SIZE(buffer), buffer);
GetLongPathNameW(buffer, buffer, ARRAY_SIZE(buffer));
SetCurrentDirectoryW(buffer);
CreateDirectoryW(testdirW, NULL);