From 0a37669aa5d98875e783df75681f035a905b7f31 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 16 Feb 2003 10:57:38 +0000 Subject: Update. * tst-rwlock6.c: More pthread_rwlock_timedwrlock and pthread_rwlock_timedrdlock tests. * tst-rwlock7.c: More pthread_rwlock_timedwrlock tests. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: Check for invalid tv_nsec field. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: Likewise. * pthread_mutex_trylock.c (__pthread_mutex_trylock): Protect recursive mutex of overflow. * tst-attr1.c (do_test): Add test for pthread_mutexattr_setpshared. --- nptl/tst-umask1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/tst-umask1.c') 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); -- cgit v1.2.3