mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-15 02:50:22 +08:00
obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.
* obstack.h (obstack_finish <!__GNUC__>): Cast result to void *. From-SVN: r141254
This commit is contained in:
parent
500b9ca10d
commit
085c6bd4f7
@ -1,3 +1,7 @@
|
||||
2008-10-21 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.
|
||||
|
||||
2008-10-06 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* demangle.h (enum demangle_component_type): Add
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* obstack.h - object stack macros
|
||||
Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998,
|
||||
1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
|
||||
@ -527,7 +527,7 @@ __extension__ \
|
||||
> (h)->chunk_limit - (char *) (h)->chunk) \
|
||||
? ((h)->next_free = (h)->chunk_limit) : 0), \
|
||||
(h)->object_base = (h)->next_free, \
|
||||
__INT_TO_PTR ((h)->temp))
|
||||
(void *) __INT_TO_PTR ((h)->temp))
|
||||
|
||||
# define obstack_free(h,obj) \
|
||||
( (h)->temp = (char *) (obj) - (char *) (h)->chunk, \
|
||||
|
Loading…
Reference in New Issue
Block a user