diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-03 22:20:12 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-03 22:20:12 +0200 |
| commit | e7ce0e3a0336db027c72647b5c9d31be9449c712 (patch) | |
| tree | 0bacf9b9cb4184f8fb01112f4d9982929d825101 /stackdump-on-crash.c | |
| parent | Add README (diff) | |
| download | stackdump-on-crash-e7ce0e3a0336db027c72647b5c9d31be9449c712.tar.gz stackdump-on-crash-e7ce0e3a0336db027c72647b5c9d31be9449c712.tar.bz2 stackdump-on-crash-e7ce0e3a0336db027c72647b5c9d31be9449c712.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'stackdump-on-crash.c')
| -rw-r--r-- | stackdump-on-crash.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |
