changeset 5095:0afa9dc2bdfc

(obstack_base): Cast to (void *), per documentation.
author Jim Meyering <jim@meyering.net>
date Thu, 24 Jun 2004 06:04:10 +0000
parents 233a2808b321
children 66c1aaac231f
files lib/obstack.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/obstack.h
+++ b/lib/obstack.h
@@ -206,7 +206,7 @@
    Note that this might not be the final address of the object
    because a new chunk might be needed to hold the final size.  */
 
-#define obstack_base(h) ((h)->object_base)
+#define obstack_base(h) ((void *) (h)->object_base)
 
 /* Size for allocating ordinary chunks.  */