]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fixed cast to work on NPTL systems.
authorTom Hughes <tom@compton.nu>
Sun, 13 Jun 2004 14:35:43 +0000 (14:35 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 13 Jun 2004 14:35:43 +0000 (14:35 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2411

coregrind/vg_scheduler.c

index 203a4fdbb384da4da4ea013a64f92aabac928f9e..61a08eba896600951824bbeea2ec3a57dff9f5c7 100644 (file)
@@ -1359,7 +1359,7 @@ void make_thread_jump_to_cancelhdlr ( ThreadId tid )
          VG_(threads)[tid].status        = VgTs_Runnable;
          VG_(threads)[tid].associated_cv = NULL;
          VG_(threads)[tid].associated_mx = NULL;
-         mx->__vg_m_owner = (_pthread_descr)tid;
+         mx->__vg_m_owner = (/*_pthread_descr*/void*)tid;
          mx->__vg_m_count = 1;
          /* .m_edx already holds pth_cond_wait success value (0) */