Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index f316fefbb65997d1e3aaf7dfadf9cc05a8099cf5..bb7d641b65191f90528494b5186dac761ae5ba50 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -383,8 +383,8 @@ void Map::MapVerify() { |
CHECK(!heap->InNewSpace(this)); |
CHECK(FIRST_TYPE <= instance_type() && instance_type() <= LAST_TYPE); |
CHECK(instance_size() == kVariableSizeSentinel || |
- (kPointerSize <= instance_size() && |
- instance_size() < heap->Capacity())); |
+ (kPointerSize <= instance_size() && |
+ static_cast<size_t>(instance_size()) < heap->Capacity())); |
CHECK(GetBackPointer()->IsUndefined(heap->isolate()) || |
!Map::cast(GetBackPointer())->is_stable()); |
VerifyHeapPointer(prototype()); |