diff options
Diffstat (limited to 'gcc/gthr-dce.h')
-rw-r--r-- | gcc/gthr-dce.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gthr-dce.h b/gcc/gthr-dce.h index ce77bf12915..96660a334ef 100644 --- a/gcc/gthr-dce.h +++ b/gcc/gthr-dce.h @@ -79,7 +79,7 @@ typedef pthread_mutex_t __gthread_mutex_t; #pragma weak pthread_yield #endif -static void *__gthread_active_ptr = &pthread_create; +static void *__gthread_active_ptr = (void *) &pthread_create; static inline int __gthread_active_p (void) |