summary refs log tree commit diff
path: root/sysdeps/unix/alpha
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-03-03 11:21:28 +0000
committerRoland McGrath <roland@gnu.org>2006-03-03 11:21:28 +0000
commit82dd8c1e0e8caa07979fd736ef8e4d4f1d3ddb22 (patch)
tree48bc99995b1eabfa24dc96ee70f84a99878414c1 /sysdeps/unix/alpha
parent2f8d989662ee4c19dee26b504cac9c7f80a28099 (diff)
downloadglibc-82dd8c1e0e8caa07979fd736ef8e4d4f1d3ddb22.tar.gz
glibc-82dd8c1e0e8caa07979fd736ef8e4d4f1d3ddb22.tar.xz
glibc-82dd8c1e0e8caa07979fd736ef8e4d4f1d3ddb22.zip
2006-03-02 Roland McGrath <roland@redhat.com>
	* sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast.
Diffstat (limited to 'sysdeps/unix/alpha')
-rw-r--r--sysdeps/unix/alpha/sysdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/alpha/sysdep.h b/sysdeps/unix/alpha/sysdep.h
index 2260ec5480..2e5bc798eb 100644
--- a/sysdeps/unix/alpha/sysdep.h
+++ b/sysdeps/unix/alpha/sysdep.h
@@ -415,7 +415,7 @@ __LABEL(name)						\
 # else
 extern uintptr_t __pointer_chk_guard_local attribute_relro attribute_hidden;
 #  define PTR_MANGLE(var)	\
-	(var) = (void *) ((uintptr_t) (var) ^ __pointer_chk_guard_local)
+  (var) = (__typeof (var)) ((uintptr_t) (var) ^ __pointer_chk_guard_local)
 #  define PTR_DEMANGLE(var)  PTR_MANGLE(var)
 # endif
 #elif defined PIC