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 d23a9e6a074615bf36558bd5fa12ae0f39f2963c..9f278ad8980f1aa59978d6bfa2f001bb1001cb92 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -687,7 +687,7 @@ void CodeGenerator::AssembleArchBoolean(Instruction* instr, |
// last output of the instruction. |
Label check; |
DCHECK_NE(0, instr->OutputCount()); |
- Register reg = i.OutputRegister(instr->OutputCount() - 1); |
+ Register reg = i.OutputRegister(static_cast<int>(instr->OutputCount() - 1)); |
Condition cc = no_condition; |
switch (condition) { |
case kUnorderedEqual: |