summaryrefslogtreecommitdiff
path: root/nptl/allocatestack.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2011-07-14 20:47:19 -0700
committerRoland McGrath <roland@hack.frob.com>2011-07-14 20:47:19 -0700
commit4b3d3e282a1c8a755bf5e02dd451158bdabbfcd8 (patch)
tree60c74c5085b4f3c1d594ce7f3a970c6e37825b2e /nptl/allocatestack.c
parent9fa2c03227e159050e9dc4ec1e315e5909901580 (diff)
Quash a warning in nptl/allocatestack.c
Diffstat (limited to 'nptl/allocatestack.c')
-rw-r--r--nptl/allocatestack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c
index 82408f5178..9b8b0ceb40 100644
--- a/nptl/allocatestack.c
+++ b/nptl/allocatestack.c
@@ -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)
{