about summary refs log tree commit diff
path: root/malloc/obstack.h
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/obstack.h')
-rw-r--r--malloc/obstack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/obstack.h b/malloc/obstack.h
index 91e101ab92..2cf7d3be11 100644
--- a/malloc/obstack.h
+++ b/malloc/obstack.h
@@ -194,7 +194,7 @@ extern int obstack_exit_failure;
    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.  */