Network: Fix gcc warning about qDebug format
authorKai Koehne <kai.koehne@nokia.com>
Mon, 17 Sep 2012 10:10:00 +0000 (12:10 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 18 Sep 2012 15:39:50 +0000 (17:39 +0200)
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>
src/network/access/qnetworkreplyhttpimpl.cpp

index 44129c6..14980f7 100644 (file)
@@ -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;