| Index: src/unique.h
|
| diff --git a/src/unique.h b/src/unique.h
|
| index 3c1c0aab87aa375b75cba4621461199546f1f15b..e8aa39a654878d4c01e69f3e4b313ba869f6cd3b 100644
|
| --- a/src/unique.h
|
| +++ b/src/unique.h
|
| @@ -187,7 +187,7 @@ class PrintableUnique : public Unique<T> {
|
| this->handle_->ShortPrint(&stream);
|
| SmartArrayPointer<const char> desc_string = stream.ToCString();
|
| const char* desc_chars = desc_string.get();
|
| - int length = strlen(desc_chars);
|
| + int length = static_cast<int>(strlen(desc_chars));
|
| char* desc_copy = zone->NewArray<char>(length + 1);
|
| memcpy(desc_copy, desc_chars, length + 1);
|
| string_ = desc_copy;
|
|
|