Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index 9c481b09a9d326b4bd59fdbf79d431404008dc11..59f530278914ae67d42aa93c4ea559be90a146be 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -2764,7 +2764,8 @@ void MarkCompactCollector::MigrateObject(HeapObject* dst, HeapObject* src, |
#if V8_DOUBLE_FIELDS_UNBOXING |
if (!may_contain_raw_values && |
- (has_only_tagged_fields || helper.IsTagged(src_slot - src_addr))) |
+ (has_only_tagged_fields || |
+ helper.IsTagged(static_cast<int>(src_slot - src_addr)))) |
#else |
if (!may_contain_raw_values) |
#endif |