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:
Friedemann Kleint
2012-05-02 11:24:34 +02:00
committed by hjk
parent 09e1e87050
commit d7f6bc3369

View File

@@ -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); }