mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-12 16:20:06 +00:00
Quash a warning in nptl/allocatestack.c
This commit is contained in:
parent
9fa2c03227
commit
4b3d3e282a
@ -1,3 +1,8 @@
|
||||
2011-07-14 Roland McGrath <roland@hack.frob.com>
|
||||
|
||||
* allocatestack.c (__reclaim_stacks): Use uintptr_t cast rather than
|
||||
UINTMAX_C.
|
||||
|
||||
2011-06-30 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* nptl-init.c (__nptl_set_robust): New function.
|
||||
|
@ -824,7 +824,7 @@ __reclaim_stacks (void)
|
||||
if (in_flight_stack != 0)
|
||||
{
|
||||
bool add_p = in_flight_stack & 1;
|
||||
list_t *elem = (list_t *) (in_flight_stack & ~UINTMAX_C (1));
|
||||
list_t *elem = (list_t *) (in_flight_stack & ~(uintptr_t) 1);
|
||||
|
||||
if (add_p)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user