From ca7b8af5dbd23ecb9549228075327ae6d547d206 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 19 Mar 2012 13:34:44 -0700 Subject: [PATCH] Cast _Unwind_GetCFA return to _Unwind_Ptr first --- nptl/ChangeLog | 5 +++++ nptl/unwind.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 7c6005b..2e81dfc 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2012-03-19 H.J. Lu + + * unwind.c (unwind_stop): Cast _Unwind_GetCFA return to + _Unwind_Ptr first. + 2012-03-16 David S. Miller [BZ #13844] diff --git a/nptl/unwind.c b/nptl/unwind.c index 0571026..7ccb213 100644 --- a/nptl/unwind.c +++ b/nptl/unwind.c @@ -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))) { -- 2.7.4