* malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to
authorRoland McGrath <roland@gnu.org>
Sat, 4 Jan 2003 21:42:58 +0000 (21:42 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 4 Jan 2003 21:42:58 +0000 (21:42 +0000)
(void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
when compiling Bison 1.875's `bitset bset = obstack_alloc
(bobstack, bytes);'.  Problem reported by Nelson H. F. Beebe.

ChangeLog

index 916a26f..2d30b46 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-01-03  Paul Eggert  <eggert@twinsun.com>
+
+       * malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to
+       (void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
+       when compiling Bison 1.875's `bitset bset = obstack_alloc
+       (bobstack, bytes);'.  Problem reported by Nelson H. F. Beebe.
+
 2003-01-04  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/posix/system.c (do_system): Correct reference counter in