From: Ulrich Drepper Date: Tue, 29 Jun 2004 06:28:18 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/fedora-base~364 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5fa2f83c9e1ae975ee381214cb23a4538c6e452d;p=thirdparty%2Fglibc.git Update. 2004-06-20 Jim Meyering * malloc/obstack.h (obstack_base): Cast to `void *', to align with documentation. --- diff --git a/ChangeLog b/ChangeLog index 4c64ddd8696..d030c662cd5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-06-20 Jim Meyering + + * malloc/obstack.h (obstack_base): Cast to `void *', to align with + documentation. + 2004-06-28 Ulrich Drepper * inet/bug-if1.c (do_test): Simply use 0 as invalid index. diff --git a/malloc/obstack.h b/malloc/obstack.h index 91e101ab925..2cf7d3be11d 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. */