Commit cf026c9f authored by Yuchen Deng's avatar Yuchen Deng Committed by hjk
Browse files

Fix a warning found by MSVC2010_64



Change-Id: Ie9ae9a8c8bff87a610606e3a6075987a08ed0644
Reviewed-by: default avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 8417c649
......@@ -73,7 +73,7 @@ public:
: n(length), str(s)
{
if (!n)
length = n = strlen(s);
length = n = static_cast<int>(strlen(s));
h = 0;
while (length--) {
h = (h << 4) + *s++;
......
Supports Markdown
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