Network: Fix gcc warning about qDebug format
Fix gcc warnings: 'unknown conversion type character 'l' in format' , and 'too many arguments for format'. Change-Id: Ic7547a5bd5ba0d4c9f115004f250a0f7d3b378cb Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
4efd73bc3a
commit
6368b2a751
@ -2010,7 +2010,7 @@ void QNetworkReplyHttpImplPrivate::setCachingEnabled(bool enable)
|
||||
|
||||
if (enable) {
|
||||
if (bytesDownloaded) {
|
||||
qDebug("setCachingEnabled: %lld bytesDownloaded", bytesDownloaded);
|
||||
qDebug() << "setCachingEnabled: " << bytesDownloaded << " bytesDownloaded";
|
||||
// refuse to enable in this case
|
||||
qCritical("QNetworkReplyImpl: backend error: caching was enabled after some bytes had been written");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user