Index: src/compiler/generic-node-inl.h |
diff --git a/src/compiler/generic-node-inl.h b/src/compiler/generic-node-inl.h |
index 30f8f680938125e19b5dcd7d1fd95732a4000cf9..afbd1f0ebf2067eb35cb370c16a7b7f5eefe2aa5 100644 |
--- a/src/compiler/generic-node-inl.h |
+++ b/src/compiler/generic-node-inl.h |
@@ -236,8 +236,7 @@ template <class B, class S> |
S* GenericNode<B, S>::New(GenericGraphBase* graph, int input_count, S** inputs, |
bool has_extensible_inputs) { |
size_t node_size = sizeof(GenericNode); |
- size_t reserve_input_count = |
- has_extensible_inputs ? kDefaultReservedInputs : 0; |
+ int reserve_input_count = has_extensible_inputs ? kDefaultReservedInputs : 0; |
size_t inputs_size = (input_count + reserve_input_count) * sizeof(Input); |
size_t uses_size = input_count * sizeof(Use); |
int size = static_cast<int>(node_size + inputs_size + uses_size); |