about summary refs log tree commit diff
path: root/nptl/tst-join5.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-join5.c')
-rw-r--r--nptl/tst-join5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/tst-join5.c b/nptl/tst-join5.c
index 68c4ac6fc6..589fac6b5f 100644
--- a/nptl/tst-join5.c
+++ b/nptl/tst-join5.c
@@ -26,7 +26,7 @@
 static void *
 tf1 (void *arg)
 {
-  pthread_join (arg, NULL);
+  pthread_join ((pthread_t) arg, NULL);
 
   puts ("1st join returned");
 
@@ -37,7 +37,7 @@ tf1 (void *arg)
 static void *
 tf2 (void *arg)
 {
-  pthread_join (arg, NULL);
+  pthread_join ((pthread_t) arg, NULL);
 
   puts ("2nd join returned");