[vlc-commits] os2: fix compilation

KO Myung-Hun git at videolan.org
Sun Jun 5 23:32:31 CEST 2016


vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Mon Jun  6 00:37:05 2016 +0900| [ea8c75de4c7475dcbdd9bd30b46e43a10dca2152] | committer: Jean-Baptiste Kempf

os2: fix compilation

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea8c75de4c7475dcbdd9bd30b46e43a10dca2152
---

 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 bbd1f1c..c7bf9b3 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



More information about the vlc-commits mailing list