https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=36df264cd91b72ca1567cbfa8d42531711abe9e6 commit 36df264cd91b72ca1567cbfa8d42531711abe9e6 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 nptl: Fix Wincompatible-pointer-types on clang Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index a8e884f341..e6bc4b73fc 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f93cefce2f4eccf27a561fc44ecb11459f61cfa7 commit f93cefce2f4eccf27a561fc44ecb11459f61cfa7 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 nptl: Fix Wincompatible-pointer-types on clang Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index a8e884f341..e6bc4b73fc 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bbf884244104cd053e189906dba09e80f248b83d commit bbf884244104cd053e189906dba09e80f248b83d Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 nptl: Fix Wincompatible-pointer-types on clang Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index a8e884f341..e6bc4b73fc 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bbf884244104cd053e189906dba09e80f248b83d commit bbf884244104cd053e189906dba09e80f248b83d Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 nptl: Fix Wincompatible-pointer-types on clang Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index a8e884f341..e6bc4b73fc 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e022342cc867962056985530ccd25023f66e9844 commit e022342cc867962056985530ccd25023f66e9844 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 nptl: Fix Wincompatible-pointer-types on clang Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index a8e884f341..e6bc4b73fc 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b092d88d2e7f7c741c57cdd7352ad769916366b6 commit b092d88d2e7f7c741c57cdd7352ad769916366b6 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 nptl: Fix Wincompatible-pointer-types on clang Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index a8e884f341..e6bc4b73fc 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=97a6a58f7d2ae38d2bdc5da5a4203c1ffad56dce commit 97a6a58f7d2ae38d2bdc5da5a4203c1ffad56dce Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 nptl: Fix Wincompatible-pointer-types on clang Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index a8e884f341..e6bc4b73fc 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2164c2819fdbf5ad9ff7374ebd3d0a5cf4c4344e commit 2164c2819fdbf5ad9ff7374ebd3d0a5cf4c4344e Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 nptl: Fix Wincompatible-pointer-types on clang Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index ca3245b0af..a4a528c40b 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=79be8a95f04b4866a6bb17cc00bc9a0f458d91b2 commit 79be8a95f04b4866a6bb17cc00bc9a0f458d91b2 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 nptl: Fix Wincompatible-pointer-types on clang Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index ca3245b0af..a4a528c40b 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3e9c3365138d56d17bf135f37229ce9c218a09fd commit 3e9c3365138d56d17bf135f37229ce9c218a09fd Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 nptl: Fix Wincompatible-pointer-types on clang Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index ca3245b0af..a4a528c40b 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ae2303f29250bc758441c630157c234945e29530 commit ae2303f29250bc758441c630157c234945e29530 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 nptl: Fix Wincompatible-pointer-types on clang Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index ca3245b0af..a4a528c40b 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=df585487b47de1e7176fa7bffcc83b5faeaf951a commit df585487b47de1e7176fa7bffcc83b5faeaf951a Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 nptl: Fix Wincompatible-pointer-types on clang Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index ca3245b0af..a4a528c40b 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7f355f3c4df0aa71d4acd43e6dfe971c9ca72c06 commit 7f355f3c4df0aa71d4acd43e6dfe971c9ca72c06 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 nptl: Fix Wincompatible-pointer-types on clang Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index ca3245b0af..a4a528c40b 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7f355f3c4df0aa71d4acd43e6dfe971c9ca72c06 commit 7f355f3c4df0aa71d4acd43e6dfe971c9ca72c06 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 nptl: Fix Wincompatible-pointer-types on clang Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index ca3245b0af..a4a528c40b 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8c86e3f6286d47874b10e3ec87caf982082def13 commit 8c86e3f6286d47874b10e3ec87caf982082def13 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 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] Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index ca3245b0af..a4a528c40b 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2373d72259a062d550947bb86f146c601141f190 commit 2373d72259a062d550947bb86f146c601141f190 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 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] Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index ca3245b0af..a4a528c40b 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=eef3711c3fda687641f4d3dc2fe7fc559c0f3ca9 commit eef3711c3fda687641f4d3dc2fe7fc559c0f3ca9 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 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] Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index 701f6a53c0..0d08c4cb40 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=92cf68bab4a8ebe8a0fe91dcf1261a7c3d80a52f commit 92cf68bab4a8ebe8a0fe91dcf1261a7c3d80a52f Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 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] Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index 701f6a53c0..0d08c4cb40 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4b710ec0225e68c695b80787b8f932af115fce70 commit 4b710ec0225e68c695b80787b8f932af115fce70 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 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] Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index 701f6a53c0..0d08c4cb40 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f5f480e3c560967660390c4f56dab82046638b89 commit f5f480e3c560967660390c4f56dab82046638b89 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 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] Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index 701f6a53c0..0d08c4cb40 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=02a321a267336bf5df895df808a9f36e0c44b5f9 commit 02a321a267336bf5df895df808a9f36e0c44b5f9 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 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] Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index 9c685c79cf..ff783343f6 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7829bb7fb63279193497a634673cee4a3b610c28 commit 7829bb7fb63279193497a634673cee4a3b610c28 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 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] Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index 9c685c79cf..ff783343f6 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9eefbaccf079c3ed7381071205c867cdcc385f79 commit 9eefbaccf079c3ed7381071205c867cdcc385f79 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Wed Mar 9 16:17:43 2022 -0300 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] Diff: --- nptl/pthread_join_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nptl/pthread_join_common.c b/nptl/pthread_join_common.c index 9c685c79cf..ff783343f6 100644 --- a/nptl/pthread_join_common.c +++ b/nptl/pthread_join_common.c @@ -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