diff options
author | Artur Bergman <sky@nanisky.com> | 2001-10-12 14:38:12 +0000 |
---|---|---|
committer | Artur Bergman <sky@nanisky.com> | 2001-10-12 14:38:12 +0000 |
commit | df9156bbad76be5c6d9d4ee4be47e7b2a5cb5fad (patch) | |
tree | 7d017bc7622c82e77f284d1db125bc6bd8c2fa96 /ext | |
parent | 6a43d2f9dcd01889e3e3e78ab5de0a2ee646713a (diff) | |
download | perl-df9156bbad76be5c6d9d4ee4be47e7b2a5cb5fad.tar.gz |
(void*) the argument to make sure we work with picky compilers
p4raw-id: //depot/perl@12407
Diffstat (limited to 'ext')
-rwxr-xr-x | ext/threads/threads.xs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/threads/threads.xs b/ext/threads/threads.xs index 1dc4e39b0f..0d00c81679 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); |