Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index 6f9d68f2496c45140d0cfe7f38c3aab9bdbcf259..de8956e01d248a1ce47b76b297fae2aee4e5080f 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -651,7 +651,7 @@ void CodeGenerator::AssembleArchBoolean(Instruction* instr, |
// Materialize a full 64-bit 1 or 0 value. The result register is always the |
// last output of the instruction. |
Label check; |
- DCHECK_NE(0, instr->OutputCount()); |
+ DCHECK_NE(0, static_cast<int>(instr->OutputCount())); |
Register reg = i.OutputRegister(static_cast<int>(instr->OutputCount() - 1)); |
Condition cc = no_condition; |
switch (condition) { |