From cf026c9f87120b4af331d58bd047af62edbb6ab9 Mon Sep 17 00:00:00 2001 From: Yuchen Deng Date: Sun, 17 Feb 2013 09:00:54 +0800 Subject: [PATCH] Fix a warning found by MSVC2010_64 Change-Id: Ie9ae9a8c8bff87a610606e3a6075987a08ed0644 Reviewed-by: Orgad Shaneh Reviewed-by: hjk --- src/plugins/coreplugin/id.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/coreplugin/id.cpp b/src/plugins/coreplugin/id.cpp index 4fac923891d..5032edbc204 100644 --- a/src/plugins/coreplugin/id.cpp +++ b/src/plugins/coreplugin/id.cpp @@ -73,7 +73,7 @@ public: : n(length), str(s) { if (!n) - length = n = strlen(s); + length = n = static_cast(strlen(s)); h = 0; while (length--) { h = (h << 4) + *s++;