diff options
-rw-r--r-- | libpthread/nptl/allocatestack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/allocatestack.c b/libpthread/nptl/allocatestack.c index 3f0586d28..118820a9a 100644 --- a/libpthread/nptl/allocatestack.c +++ b/libpthread/nptl/allocatestack.c @@ -786,7 +786,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 *)(uintptr_t)(in_flight_stack & ~UINTMAX_C (1)); if (add_p) { |