diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-08-18 10:01:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-08-18 10:01:28 +0200 |
commit | 210f57d026e5e534e64e7bd84f5750b7248f79d2 (patch) | |
tree | 1e20b50c713db30c2ba8d0d94a6cb9ea693da3df /comphelper | |
parent | bc8a46534e03d9dc81c92756957cbae84d72b953 (diff) |
-Werror,-Wwritable-strings (clang-cl)
Change-Id: Ic3a23c8290021b4bffe770651269ccf792b7c632
Diffstat (limited to 'comphelper')
-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) |