#else
#ifdef OLD_PTHREADS_API
- pthread_create( &thread->thr, (pthread_attr_t)NULL, Perl_thread_run, thread);
+ pthread_create( &thread->thr, (pthread_attr_t)NULL, Perl_thread_run, (void *)thread);
#else
- pthread_create( &thread->thr, (pthread_attr_t*)NULL, Perl_thread_run, thread);
+ pthread_create( &thread->thr, (pthread_attr_t*)NULL, Perl_thread_run, (void *)thread);
#endif
#endif
MUTEX_UNLOCK(&create_mutex);