1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

Cast _Unwind_GetCFA return to _Unwind_Ptr first

This commit is contained in:
H.J. Lu
2012-03-19 13:34:44 -07:00
parent 56965fd71c
commit ca7b8af5db
2 changed files with 6 additions and 1 deletions

View File

@ -68,7 +68,7 @@ unwind_stop (int version, _Unwind_Action actions,
registered with the old method which would be unwound by this
step. */
struct _pthread_cleanup_buffer *oldp = buf->priv.data.cleanup;
void *cfa = (void *) _Unwind_GetCFA (context);
void *cfa = (void *) (_Unwind_Ptr) _Unwind_GetCFA (context);
if (curp != oldp && (do_longjump || FRAME_LEFT (cfa, curp, adj)))
{