Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index ef0d9e58094f084bbed7a4f5cec6fc64e236a0a4..601faf723d6cf15cbd51dceb930cc61d750dcaeb 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -2183,7 +2183,8 @@ void Deoptimizer::EnsureCodeForDeoptimizationEntry(Isolate* isolate, |
ASSERT(static_cast<int>(Deoptimizer::GetMaxDeoptTableSize()) >= |
desc.instr_size); |
chunk->CommitArea(desc.instr_size); |
- CopyBytes(chunk->area_start(), desc.buffer, desc.instr_size); |
+ CopyBytes(chunk->area_start(), desc.buffer, |
+ static_cast<size_t>(desc.instr_size)); |
CPU::FlushICache(chunk->area_start(), desc.instr_size); |
if (type == EAGER) { |