H2 - make integer conversion explicit (signed->unsigned)

Pick-to: 6.2
Pick-to: 6.1
Change-Id: I47a3f8f7c39d4179a9a108e81a9c7f409acbc315
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Timur Pocheptsov 2021-06-15 10:58:52 +02:00
parent 4372cac01c
commit 8a034c62b6

View File

@ -393,8 +393,8 @@ bool QHttp2ProtocolHandler::sendRequest()
initReplyFromPushPromise(message, key);
}
const auto streamsToUse = std::min<quint32>(maxConcurrentStreams > activeStreams.size()
? maxConcurrentStreams - activeStreams.size() : 0,
const auto streamsToUse = std::min<quint32>(maxConcurrentStreams > quint32(activeStreams.size())
? maxConcurrentStreams - quint32(activeStreams.size()) : 0,
requests.size());
auto it = requests.begin();
for (quint32 i = 0; i < streamsToUse; ++i) {