aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/pthread/timer_routines.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/pthread/timer_routines.c')
-rw-r--r--linuxthreads/sysdeps/pthread/timer_routines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/pthread/timer_routines.c b/linuxthreads/sysdeps/pthread/timer_routines.c
index 86fae2af4c..b88c5e0556 100644
--- a/linuxthreads/sysdeps/pthread/timer_routines.c
+++ b/linuxthreads/sysdeps/pthread/timer_routines.c
@@ -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;