mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-15 13:30:09 +00: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:
parent
13d7881aeb
commit
b834ecbda3
@ -415,7 +415,7 @@ __LABEL(name) \
|
|||||||
# else
|
# else
|
||||||
extern uintptr_t __pointer_chk_guard_local attribute_relro attribute_hidden;
|
extern uintptr_t __pointer_chk_guard_local attribute_relro attribute_hidden;
|
||||||
# define PTR_MANGLE(var) \
|
# 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)
|
# define PTR_DEMANGLE(var) PTR_MANGLE(var)
|
||||||
# endif
|
# endif
|
||||||
#elif defined PIC
|
#elif defined PIC
|
||||||
|
Loading…
Reference in New Issue
Block a user