We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fc9f91 commit 2d8610bCopy full SHA for 2d8610b
src/Common/StackTrace.cpp
@@ -372,7 +372,7 @@ StackTrace::StackTrace(const ucontext_t & signal_context)
372
if (frame_pointers[i] == caller_address ||
373
/// This compensates for a hack in libunwind, see the "+ 1" in
374
/// UnwindCursor<A, R>::stepThroughSigReturn.
375
- frame_pointers[i] == caller_address + 1)
+ frame_pointers[i] == reinterpret_cast<void *>(reinterpret_cast<char *>(caller_address) + 1))
376
{
377
offset = i;
378
break;
0 commit comments