Skip to content

Commit 8c219a0

Browse files
aamCommit Queue
authored and
Commit Queue
committed
[gardening] Clean up msvc-flagged redundant casts.
TEST=msvc ci BUG=#52002 Change-Id: I9a2865e6e55c1924e40aa0c946bfe1c3ce969d69 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/294363 Reviewed-by: Ryan Macnak <[email protected]> Commit-Queue: Alexander Aprelev <[email protected]>
1 parent 14e45d3 commit 8c219a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/vm/unwinding_records_win.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ void UnwindingRecords::RegisterExecutablePage(Page* page) {
102102
/*FunctionTable=*/record->runtime_function,
103103
/*EntryCount=*/record->runtime_function_count,
104104
/*MaximumEntryCount=*/record->runtime_function_count,
105-
/*RangeBase=*/reinterpret_cast<DWORD64>(page->memory_->start()),
106-
/*RangeEnd=*/reinterpret_cast<DWORD64>(page->memory_->end())) != 0) {
105+
/*RangeBase=*/page->memory_->start(),
106+
/*RangeEnd=*/page->memory_->end()) != 0) {
107107
FATAL("Failed to add growable function table: %d\n", GetLastError());
108108
}
109109
}

0 commit comments

Comments
 (0)