diff options
author | Roland McGrath <roland@gnu.org> | 2006-01-11 01:17:36 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-01-11 01:17:36 +0000 |
commit | 04a8b3013f82c7071c9990581e31a5b0a0db16ba (patch) | |
tree | 838c48bc5496874366e92739caa0360d0752b356 /sysdeps | |
parent | a6811b4071621b1dc00c35309ca8567567c254e0 (diff) | |
download | glibc-04a8b3013f82c7071c9990581e31a5b0a0db16ba.zip glibc-04a8b3013f82c7071c9990581e31a5b0a0db16ba.tar.gz glibc-04a8b3013f82c7071c9990581e31a5b0a0db16ba.tar.bz2 |
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
(PTR_MANGLE): Fix cast.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h index 858b5c4..fd67f56 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1992,1997,1998,1999,2000,2001,2002,2003,2004,2005 +/* Copyright (C) 1992,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -303,7 +303,7 @@ # define PTR_DEMANGLE2(reg, tmpreg) PTR_MANGLE2 (reg, tmpreg) # else # define PTR_MANGLE(var) \ - (var) = (void *) ((uintptr_t) (var) ^ THREAD_GET_POINTER_GUARD ()) + (var) = (__typeof (var)) ((uintptr_t) (var) ^ THREAD_GET_POINTER_GUARD ()) # define PTR_DEMANGLE(var) PTR_MANGLE (var) # endif #endif |