diff options
| author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-04-12 13:59:03 +0200 |
|---|---|---|
| committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-13 18:15:26 +0200 |
| commit | cdc221ae00260c1bea196e2728eb20b83db19bbe (patch) | |
| tree | d4ae554197b917539397deb381be1b5b21d569fc /tests/manual/network_stresstest/minihttpserver.cpp | |
| parent | 76f536d661d4765ef12e146fae1527dcd0508137 (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/minihttpserver.cpp')
| -rw-r--r-- | tests/manual/network_stresstest/minihttpserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/network_stresstest/minihttpserver.cpp b/tests/manual/network_stresstest/minihttpserver.cpp index e3473a3141e..1bafe9363df 100644 --- a/tests/manual/network_stresstest/minihttpserver.cpp +++ b/tests/manual/network_stresstest/minihttpserver.cpp @@ -148,7 +148,7 @@ void MiniHttpServerConnection::handlePendingRequest() return; } - QUrl uri = QUrl::fromEncoded(request.mid(4, eol - strlen(http11) - 4)); + QUrl uri = QUrl::fromEncoded(request.mid(4, eol - int(strlen(http11)) - 4)); source.setFileName(":" + uri.path()); // connection-close? |
