summaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-09-12 19:56:23 +0000
committerRoland McGrath <roland@gnu.org>2005-09-12 19:56:23 +0000
commit58b523646cff2fb49daa2d9a4803e12d3f51a18f (patch)
tree012b223f8860e39b6fadefc113e5c25f1ed9615a /malloc
parent9ea9af192bf0c2991db6e74cc95d83a69b02cf08 (diff)
[BZ #1331]
2005-09-12 Roland McGrath <roland@redhat.com> [BZ #1331] * malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed macro argument. Reported by Matej Vela <vela@debian.org>.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/obstack.h5
1 files changed, 3 insertions, 2 deletions
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), \