Commit 730ab672 authored by Rafaël Carré's avatar Rafaël Carré

Remove pthread_t casting, fix building on FreeBSD

parent 0383d40e
...@@ -486,8 +486,8 @@ static inline int __vlc_cond_wait( const char * psz_file, int i_line, ...@@ -486,8 +486,8 @@ static inline int __vlc_cond_wait( const char * psz_file, int i_line,
{ {
/* People keep pissing me off with this. --Meuuh */ /* People keep pissing me off with this. --Meuuh */
msg_Dbg( p_condvar->p_this, msg_Dbg( p_condvar->p_this,
"thread %u: secret message triggered " "thread: secret message triggered "
"at %s:%d (%s)", (int)pthread_self(), "at %s:%d (%s)",
psz_file, i_line, strerror(i_result) ); psz_file, i_line, strerror(i_result) );
i_result = pthread_cond_wait( &p_condvar->cond, &p_mutex->mutex ); i_result = pthread_cond_wait( &p_condvar->cond, &p_mutex->mutex );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment