about summary refs log tree commit diff
path: root/sysdeps/alpha/libc-tls.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/alpha/libc-tls.c')
-rw-r--r--sysdeps/alpha/libc-tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/alpha/libc-tls.c b/sysdeps/alpha/libc-tls.c
index 434d5d9313..a3b68e928f 100644
--- a/sysdeps/alpha/libc-tls.c
+++ b/sysdeps/alpha/libc-tls.c
@@ -31,7 +31,7 @@ void *
 __tls_get_addr (tls_index *ti)
 {
   dtv_t *dtv = THREAD_DTV ();
-  return (char *) dtv[1].pointer + ti->ti_offset;
+  return (char *) dtv[1].pointer.val + ti->ti_offset;
 }
 
 #endif