about summary refs log tree commit diff
path: root/nptl/sysdeps/ia64/td_ta_map_lwp2thr.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/ia64/td_ta_map_lwp2thr.c')
-rw-r--r--nptl/sysdeps/ia64/td_ta_map_lwp2thr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/ia64/td_ta_map_lwp2thr.c b/nptl/sysdeps/ia64/td_ta_map_lwp2thr.c
index 0931ce944d..a8231848ea 100644
--- a/nptl/sysdeps/ia64/td_ta_map_lwp2thr.c
+++ b/nptl/sysdeps/ia64/td_ta_map_lwp2thr.c
@@ -35,7 +35,7 @@ td_ta_map_lwp2thr (const td_thragent_t *ta, lwpid_t lwpid, td_thrhandle_t *th)
     return TD_ERR;
 
   /* IA-64 thread register is r13.  */
-  th->th_unique = regs[13];
+  th->th_unique = (void *) regs[13];
 
   /* Found it.  Now complete the `td_thrhandle_t' object.  */
   th->th_ta_p = (td_thragent_t *) ta;