diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-01-11 13:50:51 +0100 |
|---|---|---|
| committer | Al <gabriel.cortesi@outlook.com> | 2019-01-11 13:56:58 +0100 |
| commit | cc7c3adcad973949ac976c3dc71bb8cf2677056c (patch) | |
| tree | f12166e9194e59fbf25c43c83e62fcbd318a18da /src/spawn.cpp | |
| parent | 2d78ac26c85bd7432e3aa80b59adc71190f04929 (diff) | |
Fix or ignore a number of compiler warnings.
Diffstat (limited to 'src/spawn.cpp')
| -rw-r--r-- | src/spawn.cpp | 2 |
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
|
