about summary refs log tree commit diff
path: root/nptl/unwind.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-03-19 13:34:44 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-03-19 13:34:44 -0700
commitca7b8af5dbd23ecb9549228075327ae6d547d206 (patch)
treee0fc877ae0fff7c3e0d65b09a4b38cbeda3ca11e /nptl/unwind.c
parent56965fd71c5484cab6f817851b0f89fcbe3243d3 (diff)
downloadglibc-ca7b8af5dbd23ecb9549228075327ae6d547d206.tar.gz
glibc-ca7b8af5dbd23ecb9549228075327ae6d547d206.tar.xz
glibc-ca7b8af5dbd23ecb9549228075327ae6d547d206.zip
Cast _Unwind_GetCFA return to _Unwind_Ptr first
Diffstat (limited to 'nptl/unwind.c')
-rw-r--r--nptl/unwind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/unwind.c b/nptl/unwind.c
index 05710269c1..7ccb21382b 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)))
 	{