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