Skip to content

Commit e6784e0

Browse files
aamCommit Queue
authored andcommitted
[gardening] Fix temp variable intptr_t type to match offset uint32_t.
Follow-up to 52dc797 Fixes failed build https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/vm-aot-linux-debug-simarm_x64/4968/overview TEST=ci Change-Id: Ifea13d795638e2ba7b6a1e6d50f3e91f012945cf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/428841 Commit-Queue: Alexander Aprelev <[email protected]> Reviewed-by: Siva Annamalai <[email protected]>
1 parent d99dd65 commit e6784e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/vm/object_graph.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class ObjectSlots {
134134
// the visitors will visit them but we won't emit the field description in
135135
// the heap snapshot).
136136
if (contains_only_tagged_words && (slots->length() > 0)) {
137-
intptr_t expected_offset = (*slots)[0].offset;
137+
auto expected_offset = (*slots)[0].offset;
138138
for (auto& slot : *slots) {
139139
ASSERT_EQUAL(slot.offset, expected_offset);
140140
expected_offset += kCompressedWordSize;

0 commit comments

Comments
 (0)