(obstack_base): Cast to `void *', to align with documentation.
authordrepper <drepper>
Tue, 29 Jun 2004 06:27:54 +0000 (06:27 +0000)
committerdrepper <drepper>
Tue, 29 Jun 2004 06:27:54 +0000 (06:27 +0000)
malloc/obstack.h

index 91e101a..2cf7d3b 100644 (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.  */