From 04a8b3013f82c7071c9990581e31a5b0a0db16ba Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 11 Jan 2006 01:17:36 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE): Fix cast. --- ChangeLog | 3 +++ sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f83690d1e4..c3aa24e1fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-01-10 Roland McGrath + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h + (PTR_MANGLE): Fix cast. + * timezone/test-tz.c: Revert last change, updating to match tzdata2005r definition of "MST". diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h index 858b5c4757..fd67f56983 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