summaryrefslogtreecommitdiff
path: root/include/obstack.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2008-10-20 23:03:03 +0000
committerAlan Modra <amodra@gcc.gnu.org>2008-10-21 09:33:03 +1030
commit085c6bd4f784cce7b507cd2b003f70355d3ec1c4 (patch)
treef0b6168371e30a52b6f5a69b70d30632320b7e0b /include/obstack.h
parent500b9ca10d50d9d810cc7d712761fa0c295c2ff9 (diff)
obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.
* obstack.h (obstack_finish <!__GNUC__>): Cast result to void *. From-SVN: r141254
Diffstat (limited to 'include/obstack.h')
-rw-r--r--include/obstack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/obstack.h b/include/obstack.h
index 88c2a264adc..4aec3a484e2 100644
--- a/include/obstack.h
+++ b/include/obstack.h
@@ -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, \