diff options
author | Thorsten Glaser <tg@mirbsd.org> | 2015-01-01 19:44:26 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-01-01 13:34:50 -0600 |
commit | 9d429ee21c755316bf01e589c1106cc64bb0f3b4 (patch) | |
tree | 9e83b2b2326b2e9b2c4e6a97d8b208d2215f7600 /libpthread | |
parent | 96d2cac46e30a2c05e863f569f7710baed66b703 (diff) |
fix cast warning
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'libpthread')
-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) { |