Fix MSVC-64 warnings about size_t -> int truncations in C++-lib.

Change-Id: Ibe6f41ac15df1ec685b0d0766ff568abf6f3ae7e
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
Friedemann Kleint
2013-09-12 09:54:27 +02:00
parent 5c33742375
commit 1901a1c7d4
9 changed files with 28 additions and 28 deletions

View File

@@ -35,7 +35,7 @@ using namespace CPlusPlus;
bool ByteArrayRef::startsWith(const char *s) const
{
int l = std::strlen(s);
const int l = int(std::strlen(s));
if (l > m_length)
return false;
return !qstrncmp(start(), s, l);