summaryrefslogtreecommitdiff
path: root/lib/obstack.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/obstack.h')
-rw-r--r--lib/obstack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/obstack.h b/lib/obstack.h
index c4140ad29..8d322b8e1 100644
--- a/lib/obstack.h
+++ b/lib/obstack.h
@@ -206,7 +206,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. */