mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Avoid cast in non-gcc obstack_free
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2011-09-11 Ulrich Drepper <drepper@gmail.com>
|
2011-09-11 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
|
[BZ #13067]
|
||||||
|
* malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
|
||||||
|
|
||||||
[BZ #13090]
|
[BZ #13090]
|
||||||
* configure.in: Fix use of AC_INIT.
|
* configure.in: Fix use of AC_INIT.
|
||||||
|
|
||||||
|
4
NEWS
4
NEWS
@ -10,8 +10,8 @@ Version 2.15
|
|||||||
* The following bugs are resolved with this release:
|
* The following bugs are resolved with this release:
|
||||||
|
|
||||||
9696, 11589, 12403, 12847, 12868, 12852, 12874, 12885, 12907, 12922,
|
9696, 11589, 12403, 12847, 12868, 12852, 12874, 12885, 12907, 12922,
|
||||||
12935, 13007, 13021, 13068, 13090, 13092, 13114, 13118, 13123, 13134,
|
12935, 13007, 13021, 13067, 13068, 13090, 13092, 13114, 13118, 13123,
|
||||||
13138, 13150
|
13134, 13138, 13150
|
||||||
|
|
||||||
* New program pldd to list loaded object of a process
|
* New program pldd to list loaded object of a process
|
||||||
Implemented by Ulrich Drepper.
|
Implemented by Ulrich Drepper.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* obstack.h - object stack macros
|
/* obstack.h - object stack macros
|
||||||
Copyright (C) 1988-1994,1996-1999,2003,2004,2005,2009
|
Copyright (C) 1988-1994,1996-1999,2003,2004,2005,2009,2011
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
@ -496,9 +496,9 @@ __extension__ \
|
|||||||
( (h)->temp.tempint = (char *) (obj) - (char *) (h)->chunk, \
|
( (h)->temp.tempint = (char *) (obj) - (char *) (h)->chunk, \
|
||||||
((((h)->temp.tempint > 0 \
|
((((h)->temp.tempint > 0 \
|
||||||
&& (h)->temp.tempint < (h)->chunk_limit - (char *) (h)->chunk)) \
|
&& (h)->temp.tempint < (h)->chunk_limit - (char *) (h)->chunk)) \
|
||||||
? (int) ((h)->next_free = (h)->object_base \
|
? (((h)->next_free = (h)->object_base \
|
||||||
= (h)->temp.tempint + (char *) (h)->chunk) \
|
= (h)->temp.tempint + (char *) (h)->chunk), 0) \
|
||||||
: (((obstack_free) ((h), (h)->temp.tempint + (char *) (h)->chunk), 0), 0)))
|
: ((obstack_free) ((h), (h)->temp.tempint + (char *) (h)->chunk), 0)))
|
||||||
|
|
||||||
#endif /* not __GNUC__ or not __STDC__ */
|
#endif /* not __GNUC__ or not __STDC__ */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user