| Index: src/compiler/verifier.cc
|
| diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
|
| index bd06c84fbadccc756f29b3b15f0def332932e468..23cec7a809794623625823e99d8f0b2688508d6b 100644
|
| --- a/src/compiler/verifier.cc
|
| +++ b/src/compiler/verifier.cc
|
| @@ -213,9 +213,10 @@ GenericGraphVisit::Control Verifier::Visitor::Pre(Node* node) {
|
| break;
|
| case IrOpcode::kProjection: {
|
| // Projection has an input that produces enough values.
|
| - int index = OpParameter<int>(node);
|
| + size_t index = OpParameter<size_t>(node);
|
| Node* input = NodeProperties::GetValueInput(node, 0);
|
| - CHECK_GT(OperatorProperties::GetValueOutputCount(input->op()), index);
|
| + CHECK_GT(OperatorProperties::GetValueOutputCount(input->op()),
|
| + static_cast<int>(index));
|
| break;
|
| }
|
| default:
|
|
|