Index: test/inspector/inspector-impl.cc |
diff --git a/test/inspector/inspector-impl.cc b/test/inspector/inspector-impl.cc |
index 57499215b9565040bd024dee82af8287feda2577..929fd1400caa023b9936042f396e988fff57b78b 100644 |
--- a/test/inspector/inspector-impl.cc |
+++ b/test/inspector/inspector-impl.cc |
@@ -55,7 +55,8 @@ void MessageHandler(v8::Local<v8::Message> message, |
InspectorClientImpl::InspectorFromContext(context); |
v8::Local<v8::StackTrace> stack = message->GetStackTrace(); |
- int script_id = message->GetScriptOrigin().ScriptID()->Value(); |
+ int script_id = |
+ static_cast<int>(message->GetScriptOrigin().ScriptID()->Value()); |
if (!stack.IsEmpty() && stack->GetFrameCount() > 0) { |
int top_script_id = stack->GetFrame(0)->GetScriptId(); |
if (top_script_id == script_id) script_id = 0; |