about summary refs log tree commit diff
path: root/sysdeps/ia64/libc-tls.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ia64/libc-tls.c')
-rw-r--r--sysdeps/ia64/libc-tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ia64/libc-tls.c b/sysdeps/ia64/libc-tls.c
index f1df4cd12e..3a6b8e5532 100644
--- a/sysdeps/ia64/libc-tls.c
+++ b/sysdeps/ia64/libc-tls.c
@@ -30,7 +30,7 @@ void *
 __tls_get_addr (size_t m, size_t offset)
 {
   dtv_t *dtv = THREAD_DTV ();
-  return (char *) dtv[1].pointer + offset;
+  return (char *) dtv[1].pointer.val + offset;
 }
 
 #endif