[vlc-devel] commit: Do not hide many (all?) thread function having an incorrect prototype ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Aug 3 17:04:09 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Aug 3 18:03:07 2008 +0300| [bfeca36b6a3599772e45084a0555c459966a73d7] | committer: Rémi Denis-Courmont
Do not hide many (all?) thread function having an incorrect prototype
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bfeca36b6a3599772e45084a0555c459966a73d7
---
include/vlc_threads.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/vlc_threads.h b/include/vlc_threads.h
index 01e8b71..3f05340 100644
--- a/include/vlc_threads.h
+++ b/include/vlc_threads.h
@@ -589,7 +589,7 @@ static inline void barrier (void)
* vlc_thread_create: create a thread
*****************************************************************************/
#define vlc_thread_create( P_THIS, PSZ_NAME, FUNC, PRIORITY, WAIT ) \
- __vlc_thread_create( VLC_OBJECT(P_THIS), __FILE__, __LINE__, PSZ_NAME, (void * ( * ) ( void * ))FUNC, PRIORITY, WAIT )
+ __vlc_thread_create( VLC_OBJECT(P_THIS), __FILE__, __LINE__, PSZ_NAME, FUNC, PRIORITY, WAIT )
/*****************************************************************************
* vlc_thread_set_priority: set the priority of the calling thread
More information about the vlc-devel
mailing list