Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 8c39c9180c46f6fcbc6cfd3f85d82244db38b414..47b259ed9b73849d318818833e151d7e1e68aa3b 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -3326,7 +3326,7 @@ MaybeObject* Heap::AllocateExternalStringFromAscii( |
return Failure::OutOfMemoryException(); |
} |
- ASSERT(String::IsAscii(resource->data(), length)); |
+ ASSERT(String::IsAscii(resource->data(), static_cast<int>(length))); |
Map* map = external_ascii_string_map(); |
Object* result; |