forked from qt-creator/qt-creator
LSP: Fix MSVC warning
implicit size_t -> int conversion. Change-Id: I92afe6c984bc07d27bf9cded00400b1a614c6b4f Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
487e2f5d04
commit
eee2245972
@@ -71,7 +71,7 @@ bool BaseMessage::operator==(const BaseMessage &other) const
|
||||
static QPair<QByteArray, QByteArray> splitHeaderFieldLine(
|
||||
const QByteArray &headerFieldLine, QString &parseError)
|
||||
{
|
||||
static const int fieldSeparatorLength = std::strlen(headerFieldSeparator);
|
||||
static const int fieldSeparatorLength = int(std::strlen(headerFieldSeparator));
|
||||
int assignmentIndex = headerFieldLine.indexOf(headerFieldSeparator);
|
||||
if (assignmentIndex >= 0) {
|
||||
return {headerFieldLine.mid(0, assignmentIndex),
|
||||
|
||||
Reference in New Issue
Block a user