From: Roland McGrath Date: Mon, 12 Sep 2005 19:56:23 +0000 (+0000) Subject: [BZ #1331] X-Git-Tag: cvs/fedora-glibc-20051003T2040~94 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=58b523646cff2fb49daa2d9a4803e12d3f51a18f;p=thirdparty%2Fglibc.git [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 . --- diff --git a/malloc/obstack.h b/malloc/obstack.h index d18ef40b6e8..03f6ccb2ceb 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), \