projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13d7881
)
2006-03-02 Roland McGrath <roland@redhat.com>
author
Roland McGrath
<roland@gnu.org>
Fri, 3 Mar 2006 11:21:28 +0000
(11:21 +0000)
committer
Roland McGrath
<roland@gnu.org>
Fri, 3 Mar 2006 11:21:28 +0000
(11:21 +0000)
* sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast.
sysdeps/unix/alpha/sysdep.h
patch
|
blob
|
history
diff --git
a/sysdeps/unix/alpha/sysdep.h
b/sysdeps/unix/alpha/sysdep.h
index
2260ec5
..
2e5bc79
100644
(file)
--- 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