Commit 52e27fae authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

shell32: Use characters as arguments to GetTempPathW and GetLongPathNameW.

parent b9c67d30
...@@ -244,8 +244,8 @@ todo_wine_if(parse_tests[i].todo) ...@@ -244,8 +244,8 @@ todo_wine_if(parse_tests[i].todo)
CoTaskMemFree(pidl); CoTaskMemFree(pidl);
/* Relative paths are interpreted relative to the desktop. */ /* Relative paths are interpreted relative to the desktop. */
GetTempPathW(sizeof(buffer), buffer); GetTempPathW(ARRAY_SIZE(buffer), buffer);
GetLongPathNameW(buffer, buffer, sizeof(buffer)); GetLongPathNameW(buffer, buffer, ARRAY_SIZE(buffer));
SetCurrentDirectoryW(buffer); SetCurrentDirectoryW(buffer);
CreateDirectoryW(testdirW, NULL); CreateDirectoryW(testdirW, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment