summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qprocess.cpp
diff options
context:
space:
mode:
authorAlex Trotsenko <alex1973tr@gmail.com>2020-06-04 18:18:29 +0300
committerAlex Trotsenko <alex1973tr@gmail.com>2020-06-05 13:22:49 +0300
commitad117c54441a656009bf70669c3e087d3019fae9 (patch)
treea764f474f0310eb7185b7d631950c317fb177a67 /src/corelib/io/qprocess.cpp
parent8a95404905026a7d2caa507b49ce23e04148d4af (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.cpp')
-rw-r--r--src/corelib/io/qprocess.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp
index 374142702b..854752069e 100644
--- a/src/corelib/io/qprocess.cpp
+++ b/src/corelib/io/qprocess.cpp
@@ -1018,8 +1018,8 @@ bool QProcessPrivate::tryReadFromChannel(Channel *channel)
return false;
}
#if defined QPROCESS_DEBUG
- qDebug("QProcessPrivate::tryReadFromChannel(%d), read %d bytes from the process' output",
- int(channel - &stdinChannel), int(readBytes));
+ qDebug("QProcessPrivate::tryReadFromChannel(%d), read %lld bytes from the process' output",
+ int(channel - &stdinChannel), readBytes);
#endif
if (channel->closed) {