aboutsummaryrefslogtreecommitdiff
path: root/ProcessUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ProcessUtils.cpp')
-rw-r--r--ProcessUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ProcessUtils.cpp b/ProcessUtils.cpp
index 4a44ae3..e3effc9 100644
--- a/ProcessUtils.cpp
+++ b/ProcessUtils.cpp
@@ -87,7 +87,7 @@ namespace {
}
TCHAR localcmd[MAX_PATH];
- wcscpy_s(localcmd, cmd);
+ _tcscpy_s(localcmd, cmd);
if (!CreateProcess(nullptr, localcmd, nullptr, nullptr, bInheritHandles, dwCreationFlags, nullptr, nullptr, &si.StartupInfo, &spd.pi))
{
spd.hr = HRESULT_FROM_WIN32(GetLastError());