|
From: Tom H. <th...@cy...> - 2004-06-13 14:35:48
|
CVS commit by thughes:
Fixed cast to work on NPTL systems.
M +1 -1 vg_scheduler.c 1.151
--- valgrind/coregrind/vg_scheduler.c #1.150:1.151
@@ -1360,5 +1360,5 @@ void make_thread_jump_to_cancelhdlr ( Th
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) */
|