From ad117c54441a656009bf70669c3e087d3019fae9 Mon Sep 17 00:00:00 2001 From: Alex Trotsenko Date: Thu, 4 Jun 2020 18:18:29 +0300 Subject: 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 --- src/corelib/io/qprocess.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/corelib/io/qprocess.cpp') 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) { -- cgit v1.2.3