mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-02-02 04:52:53 +01:00
(setjmp): Fix cast: unw_word_t should be "void *".
(Logical change 1.266)
This commit is contained in:
parent
126e1418de
commit
cb4fda9750
1 changed files with 1 additions and 1 deletions
|
@ -44,6 +44,6 @@ setjmp (env)
|
|||
/* this should work on most platforms, but may not be
|
||||
performance-optimal; check the code! */
|
||||
wp[JB_SP] = __builtin_frame_address (0);
|
||||
wp[JB_RP] = (unw_word_t) __builtin_return_address (0);
|
||||
wp[JB_RP] = (void *) __builtin_return_address (0);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue