]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(obstack_base): Cast to (void *), per documentation.
authorJim Meyering <jim@meyering.net>
Sun, 20 Jun 2004 13:44:53 +0000 (13:44 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 20 Jun 2004 13:44:53 +0000 (13:44 +0000)
lib/obstack.h

index c4140ad29263c1e9f4b92d44e1a549c0c1a729e3..8d322b8e1a58d232e23ed07c964a20363a906f65 100644 (file)
@@ -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.  */