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 13d7881aeb
commit b834ecbda3
1 changed files with 1 additions and 1 deletions

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