summaryrefslogtreecommitdiffstats
path: root/tests/manual/network_stresstest/tst_network_stresstest.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-04-12 13:59:03 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-13 18:15:26 +0200
commitcdc221ae00260c1bea196e2728eb20b83db19bbe (patch)
treed4ae554197b917539397deb381be1b5b21d569fc /tests/manual/network_stresstest/tst_network_stresstest.cpp
parent76f536d661d4765ef12e146fae1527dcd0508137 (diff)
Fix warnings in manual tests.
- Constructor order. - Unused variables. - size_t -> int conversions. Change-Id: Ic5b016f41d01a4d8153ae0900b607bf946523c1d Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/manual/network_stresstest/tst_network_stresstest.cpp')
-rw-r--r--tests/manual/network_stresstest/tst_network_stresstest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/network_stresstest/tst_network_stresstest.cpp b/tests/manual/network_stresstest/tst_network_stresstest.cpp
index 38a516af82..74237ea9cc 100644
--- a/tests/manual/network_stresstest/tst_network_stresstest.cpp
+++ b/tests/manual/network_stresstest/tst_network_stresstest.cpp
@@ -537,7 +537,7 @@ void tst_NetworkStressTest::blockingMultipleRequests()
qWarning() << "no content-length:" << QString(buffer);
break;
}
- pos += strlen("\r\ncontent-length: ");
+ pos += int(strlen("\r\ncontent-length: "));
int eol = buffer.indexOf("\r\n", pos + 2);
if (eol == -1) {