forked from qt-creator/qt-creator
Fix a warning found by MSVC2010_64
Change-Id: Ie9ae9a8c8bff87a610606e3a6075987a08ed0644 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -73,7 +73,7 @@ public:
|
|||||||
: n(length), str(s)
|
: n(length), str(s)
|
||||||
{
|
{
|
||||||
if (!n)
|
if (!n)
|
||||||
length = n = strlen(s);
|
length = n = static_cast<int>(strlen(s));
|
||||||
h = 0;
|
h = 0;
|
||||||
while (length--) {
|
while (length--) {
|
||||||
h = (h << 4) + *s++;
|
h = (h << 4) + *s++;
|
||||||
|
|||||||
Reference in New Issue
Block a user