From: Artur Bergman Date: Fri, 12 Oct 2001 14:38:12 +0000 (+0000) Subject: (void*) the argument to make sure we work with picky compilers X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=df9156bbad76be5c6d9d4ee4be47e7b2a5cb5fad;p=p5sagit%2Fp5-mst-13.2.git (void*) the argument to make sure we work with picky compilers p4raw-id: //depot/perl@12407 --- diff --git a/ext/threads/threads.xs b/ext/threads/threads.xs index 1dc4e39..0d00c81 100755 --- a/ext/threads/threads.xs +++ b/ext/threads/threads.xs @@ -157,9 +157,9 @@ SV* Perl_thread_create(char* class, SV* init_function, SV* params) { #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);