summaryrefslogtreecommitdiff
path: root/src/spawn.cpp
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-01-18 01:56:16 -0600
committerSilarn <jrim@rimpo.org>2019-01-18 01:56:16 -0600
commit077a050e5954cc21ce40c45dd51973d636b3779b (patch)
tree9e9ceea5e54acf65f560250e1aa842a60bb34b66 /src/spawn.cpp
parente35cdd6c89ea27dfb8f3ea1f918192514617a64d (diff)
parent0d04ba18737385395d6ebcdfe49fb31bcb539038 (diff)
Merge remote-tracking branch 'origin/Develop' into archive_conflicts_2
Diffstat (limited to 'src/spawn.cpp')
-rw-r--r--src/spawn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spawn.cpp b/src/spawn.cpp
index f8a7bb5f..e1de5c0f 100644
--- a/src/spawn.cpp
+++ b/src/spawn.cpp
@@ -94,7 +94,7 @@ static bool spawn(LPCWSTR binary, LPCWSTR arguments, LPCWSTR currentDirectory,
PROCESS_INFORMATION pi;
BOOL success = FALSE;
if (hooked) {
- qDebug() << "Creating process hooked: <" << QString::fromWCharArray(commandLine, length) <<">";
+ qDebug() << "Creating process hooked: <" << QString::fromWCharArray(commandLine, static_cast<int>(length)) <<">";
success = ::CreateProcessHooked(nullptr,
commandLine,
nullptr, nullptr, // no special process or thread attributes