From 633f745dcad9c7324f56f8ef85ee9b460b1006e7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 11 Sep 2011 13:04:17 -0400 Subject: Avoid cast in non-gcc obstack_free --- malloc/obstack.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'malloc/obstack.h') diff --git a/malloc/obstack.h b/malloc/obstack.h index 449070e7f1..4677891472 100644 --- a/malloc/obstack.h +++ b/malloc/obstack.h @@ -1,5 +1,5 @@ /* obstack.h - object stack macros - Copyright (C) 1988-1994,1996-1999,2003,2004,2005,2009 + Copyright (C) 1988-1994,1996-1999,2003,2004,2005,2009,2011 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -496,9 +496,9 @@ __extension__ \ ( (h)->temp.tempint = (char *) (obj) - (char *) (h)->chunk, \ ((((h)->temp.tempint > 0 \ && (h)->temp.tempint < (h)->chunk_limit - (char *) (h)->chunk)) \ - ? (int) ((h)->next_free = (h)->object_base \ - = (h)->temp.tempint + (char *) (h)->chunk) \ - : (((obstack_free) ((h), (h)->temp.tempint + (char *) (h)->chunk), 0), 0))) + ? (((h)->next_free = (h)->object_base \ + = (h)->temp.tempint + (char *) (h)->chunk), 0) \ + : ((obstack_free) ((h), (h)->temp.tempint + (char *) (h)->chunk), 0))) #endif /* not __GNUC__ or not __STDC__ */ -- cgit v1.2.3