Fix bulid on 64bit platforms
This commit is contained in:
parent
f833b31793
commit
def3076ba9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197389
1 changed files with 38 additions and 0 deletions
38
multimedia/vlc/files/patch-include-vlc_threads_funcs.h
Normal file
38
multimedia/vlc/files/patch-include-vlc_threads_funcs.h
Normal file
|
@ -0,0 +1,38 @@
|
|||
--- include/vlc_threads_funcs.h.orig 2007-08-08 14:53:27.000000000 +0200
|
||||
+++ include/vlc_threads_funcs.h 2007-08-08 14:55:58.000000000 +0200
|
||||
@@ -111,7 +111,7 @@
|
||||
i_result = pthread_mutex_lock( &p_mutex->mutex );
|
||||
if ( i_result )
|
||||
{
|
||||
- i_thread = (int)pthread_self();
|
||||
+ i_thread = (intptr_t)pthread_self();
|
||||
psz_error = strerror(i_result);
|
||||
}
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
i_result = pthread_mutex_unlock( &p_mutex->mutex );
|
||||
if ( i_result )
|
||||
{
|
||||
- i_thread = (int)pthread_self();
|
||||
+ i_thread = (intptr_t)pthread_self();
|
||||
psz_error = strerror(i_result);
|
||||
}
|
||||
|
||||
@@ -322,7 +322,7 @@
|
||||
i_result = pthread_cond_signal( &p_condvar->cond );
|
||||
if ( i_result )
|
||||
{
|
||||
- i_thread = (int)pthread_self();
|
||||
+ i_thread = (intptr_t)pthread_self();
|
||||
psz_error = strerror(i_result);
|
||||
}
|
||||
|
||||
@@ -512,7 +512,7 @@
|
||||
|
||||
if ( i_result )
|
||||
{
|
||||
- i_thread = (int)pthread_self();
|
||||
+ i_thread = (intptr_t)pthread_self();
|
||||
psz_error = strerror(i_result);
|
||||
}
|
||||
|
Loading…
Reference in a new issue