about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/ia64/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/ia64/tls.h')
-rw-r--r--linuxthreads/sysdeps/ia64/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/ia64/tls.h b/linuxthreads/sysdeps/ia64/tls.h
index 7aec4f4f8a..db810d1872 100644
--- a/linuxthreads/sysdeps/ia64/tls.h
+++ b/linuxthreads/sysdeps/ia64/tls.h
@@ -84,7 +84,7 @@ typedef struct
    special attention since 'errno' is not yet available and if the
    operation can cause a failure 'errno' must not be touched.  */
 #  define TLS_INIT_TP(tcbp, secondcall) \
-  (__thread_self = (tcbp), NULL)
+  (__thread_self = (__typeof (__thread_self)) (tcbp), NULL)
 
 /* Return the address of the dtv for the current thread.  */
 #  define THREAD_DTV() \