diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-10-06 09:54:20 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-10-07 00:49:17 +0200 |
commit | af31b6cf05aa3a9c858f2823323bf8fe12603a72 (patch) | |
tree | f8c57f24a0472bc4cc6988c0e6bae22cddb4e5cf /tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp | |
parent | 62a81bddfa13b169e3e31174f22546afc3d211f1 (diff) |
Silence compiler warning from int/size_t mismatch
Amends 4757b93b0ef149a3564582a45589f731755c4236.
Change-Id: I678785cd61dbdecb3b1e7e68c7daf9f18cad4d02
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp')
-rw-r--r-- | tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |