Skip to content

Commit

Permalink
don't use ansi variants
Browse files Browse the repository at this point in the history
  • Loading branch information
uclaros committed Feb 16, 2025
1 parent 3932ef2 commit 7caa009
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions external/untwine/api/QgisUntwine_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ bool QgisUntwine::start(Options& options)
cmdline += "--" + op.first + " \"" + op.second + "\" ";

PROCESS_INFORMATION processInfo;
STARTUPINFOA startupInfo;
STARTUPINFO startupInfo;

ZeroMemory(&processInfo, sizeof(PROCESS_INFORMATION));
ZeroMemory(&startupInfo, sizeof(STARTUPINFO));
Expand All @@ -42,7 +42,7 @@ bool QgisUntwine::start(Options& options)

std::vector<char> ncCmdline(cmdline.begin(), cmdline.end());
ncCmdline.push_back((char)0);
bool ok = CreateProcessA(m_path.c_str(), ncCmdline.data(),
bool ok = CreateProcess(m_path.c_str(), ncCmdline.data(),
NULL, /* process attributes */
NULL, /* thread attributes */
TRUE, /* inherit handles */
Expand Down

0 comments on commit 7caa009

Please sign in to comment.