aboutsummaryrefslogtreecommitdiff
path: root/nptl/cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/cleanup.c')
-rw-r--r--nptl/cleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/cleanup.c b/nptl/cleanup.c
index 2029fe2141..5bf85398e4 100644
--- a/nptl/cleanup.c
+++ b/nptl/cleanup.c
@@ -33,7 +33,7 @@ __pthread_register_cancel (__pthread_unwind_buf_t *buf)
ibuf->priv.data.cleanup = THREAD_GETMEM (self, cleanup);
/* Store the new cleanup handler info. */
- THREAD_SETMEM (self, cleanup_jmp_buf, buf);
+ THREAD_SETMEM (self, cleanup_jmp_buf, (struct pthread_unwind_buf *) buf);
}