Index: test/inspector/task-runner.cc |
diff --git a/test/inspector/task-runner.cc b/test/inspector/task-runner.cc |
index a92f2d0aadcf7cdb047314028c07cde47560fc48..577ab306c72d5654b32fa0ffbcb00f03455c53de 100644 |
--- a/test/inspector/task-runner.cc |
+++ b/test/inspector/task-runner.cc |
@@ -78,9 +78,10 @@ v8::Local<v8::Context> TaskRunner::GetContext(int context_group_id) { |
} |
int TaskRunner::GetContextGroupId(v8::Local<v8::Context> context) { |
- return reinterpret_cast<intptr_t>( |
- context->GetAlignedPointerFromEmbedderData(kContextGroupIdIndex)) / |
- 2; |
+ return static_cast<int>( |
+ reinterpret_cast<intptr_t>( |
+ context->GetAlignedPointerFromEmbedderData(kContextGroupIdIndex)) / |
+ 2); |
} |
void TaskRunner::Run() { |