forked from qt-creator/qt-creator
Fix warning about truncation from size_t to quint.
qstrncmp() takes a quint. Change-Id: I6e11155a793e3a4d9d29861ebb7c7a9c5c2f31c8 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -60,7 +60,7 @@ public:
|
||||
{ return !this->operator==(other); }
|
||||
|
||||
bool operator==(const char *other) const
|
||||
{ return qstrncmp(m_start, other, strlen(other)) == 0; }
|
||||
{ return qstrncmp(m_start, other, qstrlen(other)) == 0; }
|
||||
bool operator!=(const char *other) const
|
||||
{ return !this->operator==(other); }
|
||||
|
||||
|
Reference in New Issue
Block a user