1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

2006-03-02 Roland McGrath <roland@redhat.com>

* sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast.
This commit is contained in:
Roland McGrath
2006-03-03 11:21:28 +00:00
parent 2f8d989662
commit 82dd8c1e0e

View File

@@ -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