From: Jim Meyering Date: Thu, 24 Jun 2004 06:04:10 +0000 (+0000) Subject: (obstack_base): Cast to (void *), per documentation. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e5e485be4364aece0ddde2817a0788615cceb65;p=pspp (obstack_base): Cast to (void *), per documentation. --- diff --git a/lib/obstack.h b/lib/obstack.h index c4140ad292..d46b0544a4 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. */