diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2020-06-04 18:18:29 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2020-06-05 13:22:49 +0300 |
commit | ad117c54441a656009bf70669c3e087d3019fae9 (patch) | |
tree | a764f474f0310eb7185b7d631950c317fb177a67 /src/corelib/io/qprocess_win.cpp | |
parent | 8a95404905026a7d2caa507b49ce23e04148d4af (diff) |
QProcess/Win: Fix build in debug mode
Suppress a compile warning:
io\qprocess_win.cpp: 623:101: error: format '%d' expects argument of ...
Pick-to: 5.15
Change-Id: I9ea94ddfc21afea5d1a78e264507a36435cce063
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/corelib/io/qprocess_win.cpp')
-rw-r--r-- | src/corelib/io/qprocess_win.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/io/qprocess_win.cpp b/src/corelib/io/qprocess_win.cpp index 1527cf93ed..148c6378c6 100644 --- a/src/corelib/io/qprocess_win.cpp +++ b/src/corelib/io/qprocess_win.cpp @@ -620,7 +620,8 @@ qint64 QProcessPrivate::bytesAvailableInChannel(const Channel *channel) const DWORD bytesAvail = channel->reader->bytesAvailable(); #if defined QPROCESS_DEBUG - qDebug("QProcessPrivate::bytesAvailableInChannel(%d) == %d", channel - &stdinChannel, bytesAvail); + qDebug("QProcessPrivate::bytesAvailableInChannel(%d) == %lld", + int(channel - &stdinChannel), qint64(bytesAvail)); #endif return bytesAvail; } |