Index: src/serialize.h |
diff --git a/src/serialize.h b/src/serialize.h |
index 6e1f6512350b24dc56e39b1b25d38ce5b8095652..482bc34e5c03c47fd6bf30f7d0fe097ca9ba2cd8 100644 |
--- a/src/serialize.h |
+++ b/src/serialize.h |
@@ -263,7 +263,8 @@ class Deserializer: public SerializerDeserializer { |
void AddReservation(int space, uint32_t chunk) { |
DCHECK(space >= 0); |
DCHECK(space < kNumberOfSpaces); |
- DCHECK(space == LO_SPACE || chunk < Page::kMaxRegularHeapObjectSize); |
+ DCHECK(space == LO_SPACE || |
+ chunk < static_cast<uint32_t>(Page::kMaxRegularHeapObjectSize)); |
reservations_[space].Add({chunk, NULL, NULL}); |
} |