Commit d7f6bc33 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by hjk
Browse files

Fix warning about truncation from size_t to quint.



qstrncmp() takes a quint.

Change-Id: I6e11155a793e3a4d9d29861ebb7c7a9c5c2f31c8
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 09e1e870
......@@ -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); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment