Index: test/inspector/task-runner.cc |
diff --git a/test/inspector/task-runner.cc b/test/inspector/task-runner.cc |
index d614c88bc48d7294895bc5d23da8a50ff2566a01..c78d23b41559f5d11090c2d78aef160121989933 100644 |
--- a/test/inspector/task-runner.cc |
+++ b/test/inspector/task-runner.cc |
@@ -132,7 +132,7 @@ void ExecuteStringTask::Run(v8::Isolate* isolate, |
v8::Local<v8::String> source = |
v8::String::NewFromTwoByte(isolate, expression_.characters16(), |
v8::NewStringType::kNormal, |
- expression_.length()) |
+ static_cast<int>(expression_.length())) |
.ToLocalChecked(); |
v8::ScriptCompiler::Source scriptSource(source, origin); |