Skip to content

Commit

Permalink
[gardening] Clean up msvc-flagged redundant casts.
Browse files Browse the repository at this point in the history
TEST=msvc ci
BUG=#52002

Change-Id: I9a2865e6e55c1924e40aa0c946bfe1c3ce969d69
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/294363
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
  • Loading branch information
aam authored and Commit Queue committed Apr 10, 2023
1 parent 14e45d3 commit 8c219a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/vm/unwinding_records_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ void UnwindingRecords::RegisterExecutablePage(Page* page) {
/*FunctionTable=*/record->runtime_function,
/*EntryCount=*/record->runtime_function_count,
/*MaximumEntryCount=*/record->runtime_function_count,
/*RangeBase=*/reinterpret_cast<DWORD64>(page->memory_->start()),
/*RangeEnd=*/reinterpret_cast<DWORD64>(page->memory_->end())) != 0) {
/*RangeBase=*/page->memory_->start(),
/*RangeEnd=*/page->memory_->end()) != 0) {
FATAL("Failed to add growable function table: %d\n", GetLastError());
}
}
Expand Down

0 comments on commit 8c219a0

Please sign in to comment.