summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-06-20 13:44:53 +0000
committerJim Meyering <jim@meyering.net>2004-06-20 13:44:53 +0000
commit6c97ac18efa795d0a023521acf4f170fa097e72e (patch)
tree2904a2eb3bf89ecc7620ab9713a52575be922f44 /lib
parent1c7b9917a205f00956aa2e8557606c04dca91fc0 (diff)
downloadcoreutils-6c97ac18efa795d0a023521acf4f170fa097e72e.tar.xz
(obstack_base): Cast to (void *), per documentation.
Diffstat (limited to 'lib')
-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. */