aboutsummaryrefslogtreecommitdiff
path: root/malloc/obstack.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-06-29 06:28:18 +0000
committerUlrich Drepper <drepper@redhat.com>2004-06-29 06:28:18 +0000
commit5fa2f83c9e1ae975ee381214cb23a4538c6e452d (patch)
tree812f664e7c3f3919d1951283274c1d9c2c1d8c2c /malloc/obstack.h
parente2fd959d18978dee84550cd14ef0693657d508af (diff)
downloadglibc-5fa2f83c9e1ae975ee381214cb23a4538c6e452d.tar
glibc-5fa2f83c9e1ae975ee381214cb23a4538c6e452d.tar.gz
glibc-5fa2f83c9e1ae975ee381214cb23a4538c6e452d.tar.bz2
glibc-5fa2f83c9e1ae975ee381214cb23a4538c6e452d.zip
Update.
2004-06-20 Jim Meyering <jim@meyering.net> * malloc/obstack.h (obstack_base): Cast to `void *', to align with documentation.
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. */