| Index: src/lithium-codegen.cc
|
| diff --git a/src/lithium-codegen.cc b/src/lithium-codegen.cc
|
| index 10590e088abf17ff3bb227a9a98e47738e0023f2..74106f407362d2347d874beef5a7bd012ef6a325 100644
|
| --- a/src/lithium-codegen.cc
|
| +++ b/src/lithium-codegen.cc
|
| @@ -127,7 +127,7 @@ void LCodeGenBase::Comment(const char* format, ...) {
|
| // Copy the string before recording it in the assembler to avoid
|
| // issues when the stack allocated buffer goes out of scope.
|
| size_t length = builder.position();
|
| - Vector<char> copy = Vector<char>::New(length + 1);
|
| + Vector<char> copy = Vector<char>::New(static_cast<int>(length) + 1);
|
| OS::MemCopy(copy.start(), builder.Finalize(), copy.length());
|
| masm()->RecordComment(copy.start());
|
| }
|
|
|