2004-06-20  Jim Meyering  <jim@meyering.net>

	* malloc/obstack.h (obstack_base): Cast to `void *', to align with
	documentation.
This commit is contained in:
Ulrich Drepper 2004-06-29 06:28:18 +00:00
parent e2fd959d18
commit 5fa2f83c9e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-06-20 Jim Meyering <jim@meyering.net>
* malloc/obstack.h (obstack_base): Cast to `void *', to align with
documentation.
2004-06-28 Ulrich Drepper <drepper@redhat.com>
* inet/bug-if1.c (do_test): Simply use 0 as invalid index.

View File

@ -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. */