cppgc: Fix gcc warning in sweeper-unittest.cc
Bug: v8:10724 Change-Id: I3f8c316818d4ec048143dc731b11808652612925 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2324248 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Anton Bikineev <bikineev@chromium.org> Cr-Commit-Position: refs/heads/master@{#69118}
This commit is contained in:
parent
7d0fcda3a2
commit
a0dfda884a
@ -199,8 +199,8 @@ TEST_F(SweeperTest, CoalesceFreeListEntries) {
|
||||
const BasePage* page = BasePage::FromPayload(object2);
|
||||
const FreeList& freelist = NormalPageSpace::From(page->space())->free_list();
|
||||
|
||||
const FreeList::Block coalesced_block = {object2_start,
|
||||
object3_end - object2_start};
|
||||
const FreeList::Block coalesced_block = {
|
||||
object2_start, static_cast<size_t>(object3_end - object2_start)};
|
||||
|
||||
EXPECT_EQ(0u, g_destructor_callcount);
|
||||
EXPECT_FALSE(freelist.Contains(coalesced_block));
|
||||
|
Loading…
Reference in New Issue
Block a user