From: Jim Meyering Date: Sun, 20 Jun 2004 13:44:53 +0000 (+0000) Subject: (obstack_base): Cast to (void *), per documentation. X-Git-Tag: v5.3.0~1295 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c97ac18efa795d0a023521acf4f170fa097e72e;p=thirdparty%2Fcoreutils.git (obstack_base): Cast to (void *), per documentation. --- diff --git a/lib/obstack.h b/lib/obstack.h index c4140ad292..8d322b8e1a 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. */