From 58b523646cff2fb49daa2d9a4803e12d3f51a18f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 12 Sep 2005 19:56:23 +0000 Subject: [BZ #1331] 2005-09-12 Roland McGrath [BZ #1331] * malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed macro argument. Reported by Matej Vela . --- malloc/obstack.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'malloc/obstack.h') diff --git a/malloc/obstack.h b/malloc/obstack.h index d18ef40b6e..03f6ccb2ce 100644 --- a/malloc/obstack.h +++ b/malloc/obstack.h @@ -1,5 +1,6 @@ /* obstack.h - object stack macros - Copyright (C) 1988-1994,1996-1999,2003,2004 Free Software Foundation, Inc. + Copyright (C) 1988-1994,1996-1999,2003,2004,2005 + Free Software Foundation, Inc. This file is part of the GNU C Library. Its master source is NOT part of the C library, however. The master source lives in /gd/gnu/lib. @@ -446,7 +447,7 @@ __extension__ \ (((const void **) ((h)->next_free += sizeof (void *)))[-1] = (aptr)) # define obstack_int_grow_fast(h,aint) \ - (((int *) ((h)->next_free += sizeof (int)))[-1] = (aptr)) + (((int *) ((h)->next_free += sizeof (int)))[-1] = (aint)) # define obstack_blank(h,length) \ ( (h)->temp = (length), \ -- cgit 1.4.1