diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-09-20 23:04:20 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-09-20 23:04:20 +0200 |
commit | 1d49ccdd73c182ad9f280d21d5a5e88bd59db871 (patch) | |
tree | 6a47a69df02f0a0b0a3fe664ac458bf8cf98bb5d /sysdeps/mach/pt-thread-terminate.c | |
parent | d10c3db401fb427e796fb51ac20bff438388d1b3 (diff) |
Fix warning
* sysdeps/mach/pt-thread-terminate.c (__pthread_thread_terminate): Cast
stack address to vm_address_t before calling __thread_terminate_release.
Diffstat (limited to 'sysdeps/mach/pt-thread-terminate.c')
-rw-r--r-- | sysdeps/mach/pt-thread-terminate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/pt-thread-terminate.c b/sysdeps/mach/pt-thread-terminate.c index cb9e26a..5d9da26 100644 --- a/sysdeps/mach/pt-thread-terminate.c +++ b/sysdeps/mach/pt-thread-terminate.c @@ -74,7 +74,7 @@ __pthread_thread_terminate (struct __pthread *thread) /* Terminate and release all that's left. */ err = __thread_terminate_release (kernel_thread, mach_task_self (), kernel_thread, reply_port, - stackaddr, stacksize); + (vm_address_t) stackaddr, stacksize); /* The kernel does not support it yet. Leak but at least terminate correctly. */ |