Skip to content

Commit 2d8610b

Browse files
committed
Fix
1 parent 2fc9f91 commit 2d8610b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/StackTrace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ StackTrace::StackTrace(const ucontext_t & signal_context)
372372
if (frame_pointers[i] == caller_address ||
373373
/// This compensates for a hack in libunwind, see the "+ 1" in
374374
/// UnwindCursor<A, R>::stepThroughSigReturn.
375-
frame_pointers[i] == caller_address + 1)
375+
frame_pointers[i] == reinterpret_cast<void *>(reinterpret_cast<char *>(caller_address) + 1))
376376
{
377377
offset = i;
378378
break;

0 commit comments

Comments
 (0)