Skip to content

Commit

Permalink
OK
Browse files Browse the repository at this point in the history
  • Loading branch information
AZero13 committed Sep 6, 2022
1 parent 29a4622 commit 0495771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stl/src/stacktrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ namespace {

const size_t new_off = string_fill(
fill, off + size, str, [address, off, size, &new_size, &hr, &displacement](char* s, size_t) {
hr = debug_symbols->GetNameByOffset(
reinterpret_cast<uintptr_t>(address), s + off, size + 1, &new_size, &displacement);
hr = debug_symbols->GetNameByOffset(reinterpret_cast<uintptr_t>(address), s + off,
static_cast<ULONG>(size + 1), &new_size, &displacement);

return (hr == S_OK) ? off + new_size - 1 : off;
});
Expand Down

0 comments on commit 0495771

Please sign in to comment.