diff options
Diffstat (limited to 'comphelper/source/windows/windows_process.cxx')
-rw-r--r-- | comphelper/source/windows/windows_process.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/windows/windows_process.cxx b/comphelper/source/windows/windows_process.cxx index b7fa19373dc2..bd77f70eabdc 100644 --- a/comphelper/source/windows/windows_process.cxx +++ b/comphelper/source/windows/windows_process.cxx @@ -191,7 +191,7 @@ WinLaunchChild(const wchar_t *exePath, STARTUPINFOW si = {0}; si.cb = sizeof(STARTUPINFOW); - si.lpDesktop = L"winsta0\\Default"; + si.lpDesktop = const_cast<LPWSTR>(L"winsta0\\Default"); PROCESS_INFORMATION pi = {0}; if (userToken == nullptr) |