about summary refs log tree commit diff
path: root/nptl/tst-umask1.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-umask1.c')
-rw-r--r--nptl/tst-umask1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-umask1.c b/nptl/tst-umask1.c
index 22e3831b11..42d2e6810c 100644
--- a/nptl/tst-umask1.c
+++ b/nptl/tst-umask1.c
@@ -104,7 +104,7 @@ do_test (const char *fname)
   pthread_barrier_init (&bar, NULL, 2);
 
   pthread_t th;
-  if (pthread_create (&th, NULL, tf, fname) != 0)
+  if (pthread_create (&th, NULL, tf, (void *) fname) != 0)
     {
       puts ("cannot create thread");
       exit (1);