From e7ce0e3a0336db027c72647b5c9d31be9449c712 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 3 May 2026 22:20:12 +0200 Subject: Add cast required on some archs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- stackdump-on-crash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stackdump-on-crash.c b/stackdump-on-crash.c index 70493ba..9b0bd51 100644 --- a/stackdump-on-crash.c +++ b/stackdump-on-crash.c @@ -29,7 +29,7 @@ dump_stack(ucontext_t *ucontext) const char *funcname = NULL; int first = 1; - if (unw_init_local2(&cursor, ucontext, UNW_INIT_SIGNAL_FRAME)) + if (unw_init_local2(&cursor, (unw_context_t *)ucontext, UNW_INIT_SIGNAL_FRAME)) goto out; memset(&callbacks, 0, sizeof(callbacks)); -- cgit v1.2.3-70-g09d2