Fix win32 compilation
authorChristophe Mutricy <xtophe@videolan.org>
Tue, 19 Dec 2006 14:16:37 +0000 (14:16 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Tue, 19 Dec 2006 14:16:37 +0000 (14:16 +0000)
include/vlc_threads_funcs.h

index cc78781..1e68fea 100644 (file)
@@ -603,7 +603,7 @@ static inline void* __vlc_threadvar_get( char* psz_file, int line,
 #elif defined( HAVE_KERNEL_SCHEDULER_H )
     p_ret = NULL;
 #elif defined( UNDER_CE ) || defined( WIN32 )
-    p_ret = TlsGetValue( &p_tls->handle );
+    p_ret = TlsGetValue( p_tls->handle );
 
 #elif defined( PTHREAD_COND_T_IN_PTHREAD_H )
     p_ret = pthread_getspecific( p_tls->handle );