Index: src/compiler/ia32/instruction-selector-ia32.cc |
diff --git a/src/compiler/ia32/instruction-selector-ia32.cc b/src/compiler/ia32/instruction-selector-ia32.cc |
index b20bc94b64f36d6ad735f5e93a9aa7be126c48f5..56af208bf437e7c73252729523fb998723674687 100644 |
--- a/src/compiler/ia32/instruction-selector-ia32.cc |
+++ b/src/compiler/ia32/instruction-selector-ia32.cc |
@@ -462,7 +462,7 @@ void EmitLea(InstructionSelector* selector, Node* result, Node* index, |
AddressingMode mode = g.GenerateMemoryOperandInputs( |
index, scale, base, displacement, inputs, &input_count); |
- DCHECK_NE(0, static_cast<int>(input_count)); |
+ DCHECK_NE(0u, input_count); |
DCHECK_GE(arraysize(inputs), input_count); |
InstructionOperand outputs[1]; |
@@ -515,7 +515,7 @@ void InstructionSelector::VisitInt32Add(Node* node) { |
AddressingMode mode = g.GenerateMemoryOperandInputs( |
m.index(), m.scale(), m.base(), m.displacement(), inputs, &input_count); |
- DCHECK_NE(0, static_cast<int>(input_count)); |
+ DCHECK_NE(0u, input_count); |
DCHECK_GE(arraysize(inputs), input_count); |
InstructionOperand outputs[1]; |