[vlc-devel] [PATCH 1/2] os2: fix compilation
    KO Myung-Hun 
    komh78 at gmail.com
       
    Sun Jun  5 17:37:05 CEST 2016
    
    
  
---
 src/os2/thread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/os2/thread.c b/src/os2/thread.c
index 6844e00..aa75b69 100644
--- a/src/os2/thread.c
+++ b/src/os2/thread.c
@@ -77,7 +77,7 @@ static ULONG vlc_DosWaitEventSemEx( HEV hev, ULONG ulTimeout )
     int       n;
     ULONG     rc;
 
-    struct vlc_thread *th = vlc_thread_self( thread_key );
+    struct vlc_thread *th = vlc_thread_self ();
     if( th == NULL || !th->killable )
     {
         /* Main thread - cannot be cancelled anyway
-- 
2.7.0
    
    
More information about the vlc-devel
mailing list