2002-08-28 Roland McGrath <roland@redhat.com>
authorroland <roland>
Thu, 29 Aug 2002 01:41:17 +0000 (01:41 +0000)
committerroland <roland>
Thu, 29 Aug 2002 01:41:17 +0000 (01:41 +0000)
* sysdeps/pthread/timer_routines.c (thread_func): Fix type in cast.

linuxthreads/sysdeps/pthread/timer_routines.c

index 86fae2a..b88c5e0 100644 (file)
@@ -490,7 +490,7 @@ __timer_thread_start (struct thread_node *thread)
   thread->exists = 1;
 
   if (pthread_create (&thread->id, &thread->attr,
-                     (void (*) (void *)) thread_func, thread) != 0)
+                     (void *(*) (void *)) thread_func, thread) != 0)
     {
       thread->exists = 0;
       retval = -1;