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:
parent
4372cac01c
commit
8a034c62b6
@ -393,8 +393,8 @@ bool QHttp2ProtocolHandler::sendRequest()
|
|||||||
initReplyFromPushPromise(message, key);
|
initReplyFromPushPromise(message, key);
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto streamsToUse = std::min<quint32>(maxConcurrentStreams > activeStreams.size()
|
const auto streamsToUse = std::min<quint32>(maxConcurrentStreams > quint32(activeStreams.size())
|
||||||
? maxConcurrentStreams - activeStreams.size() : 0,
|
? maxConcurrentStreams - quint32(activeStreams.size()) : 0,
|
||||||
requests.size());
|
requests.size());
|
||||||
auto it = requests.begin();
|
auto it = requests.begin();
|
||||||
for (quint32 i = 0; i < streamsToUse; ++i) {
|
for (quint32 i = 0; i < streamsToUse; ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user