diff options
| author | Roland McGrath <roland@gnu.org> | 2006-03-03 11:21:28 +0000 |
|---|---|---|
| committer | Roland McGrath <roland@gnu.org> | 2006-03-03 11:21:28 +0000 |
| commit | b834ecbda3c0656675fb2b591a1c93cd03272cb3 (patch) | |
| tree | 76dd793f16316ed5e3e4488880a7d2f626d0d466 | |
| parent | 13d7881aeb813188d3da8ac11386d1cf88526f75 (diff) | |
| download | glibc-b834ecbda3c0656675fb2b591a1c93cd03272cb3.tar.xz glibc-b834ecbda3c0656675fb2b591a1c93cd03272cb3.zip | |
2006-03-02 Roland McGrath <roland@redhat.com>
* sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast.
| -rw-r--r-- | sysdeps/unix/alpha/sysdep.h | 2 |
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 |
