mirror of git://sourceware.org/git/glibc.git
nptl: Fix Wincompatible-pointer-types on clang
Clang issues: error: incompatible pointer types passing 'struct pthread **' to parameter of type 'void **' [-Werror,-Wincompatible-pointer-types]
This commit is contained in:
parent
6e69f27d0d
commit
7a12fe70bc
|
@ -29,7 +29,7 @@ cleanup (void *arg)
|
|||
fail for any reason but the thread not having done that yet so
|
||||
there is no reason for a loop. */
|
||||
struct pthread *self = THREAD_SELF;
|
||||
atomic_compare_exchange_weak_acquire (&arg, &self, NULL);
|
||||
atomic_compare_exchange_weak_acquire (&arg, (void **) &self, NULL);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue