Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index 0bae1efd357395ab515cea8261e1aaae3da3c8e6..f019148f1d827d199254bff0c025493d7028d4ab 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -301,7 +301,7 @@ GenericGraphVisit::Control Verifier::Visitor::Pre(Node* node) { |
break; |
case IrOpcode::kProjection: { |
// Projection has an input that produces enough values. |
- int index = OpParameter<int>(node->op()); |
+ int index = static_cast<int>(OpParameter<size_t>(node->op())); |
Node* input = NodeProperties::GetValueInput(node, 0); |
CHECK_GT(OperatorProperties::GetValueOutputCount(input->op()), index); |
// Type can be anything. |