1
0
Fork 0
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:
mostang.com!davidm 2004-09-09 13:06:01 +00:00
parent 126e1418de
commit cb4fda9750

View file

@ -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;
}