From af31b6cf05aa3a9c858f2823323bf8fe12603a72 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Wed, 6 Oct 2021 09:54:20 +0200 Subject: [PATCH] Silence compiler warning from int/size_t mismatch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Amends 4757b93b0ef149a3564582a45589f731755c4236. Change-Id: I678785cd61dbdecb3b1e7e68c7daf9f18cad4d02 Reviewed-by: MÃ¥rten Nordheim --- tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp index 797b327434..2ebeff8689 100644 --- a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp +++ b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp @@ -8053,7 +8053,7 @@ void tst_QNetworkReply::varyingCacheExpiry() u"http://localhost"_qs, u"http://localhost"_qs, }; - for (int i = 0; i < std::size(urls); ++i) + for (size_t i = 0; i < std::size(urls); ++i) urls[i].setPort(servers[i].serverPort()); // After the initial request is completed the connection is kept alive