diff options
Diffstat (limited to 'tests/manual/qhttpnetworkconnection/main.cpp')
-rw-r--r-- | tests/manual/qhttpnetworkconnection/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/qhttpnetworkconnection/main.cpp b/tests/manual/qhttpnetworkconnection/main.cpp index 2d861530d3..8099e616f7 100644 --- a/tests/manual/qhttpnetworkconnection/main.cpp +++ b/tests/manual/qhttpnetworkconnection/main.cpp @@ -72,7 +72,7 @@ void tst_qhttpnetworkconnection::bigRemoteFile() qDebug() << "Finished!" << endl; qDebug() << "Time:" << t.elapsed() << "msec"; qDebug() << "Bytes:" << size; - qDebug() << "Speed:" << (size / 1024) / (t.elapsed() / 1000) << "KB/sec"; + qDebug() << "Speed:" << (size / qreal(1024)) / (t.elapsed() / qreal(1000)) << "KB/sec"; } QTEST_MAIN(tst_qhttpnetworkconnection) |