[vlc-devel] commit: Fixed win32 compilation. (Laurent Aimar )

git version control git at videolan.org
Wed Apr 15 22:21:28 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Apr 15 22:19:13 2009 +0200| [e35054d096bed41f1480f9354aeb08122cd9e1c4] | committer: Laurent Aimar 

Fixed win32 compilation.

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

 src/misc/threads.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/misc/threads.c b/src/misc/threads.c
index 7c71126..5dc08e1 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -700,7 +700,7 @@ int vlc_threadvar_set (vlc_threadvar_t key, void *value)
 #if defined(LIBVLC_USE_PTHREAD)
     return pthread_setspecific (key, value);
 #elif defined( UNDER_CE ) || defined( WIN32 )
-    return TlsSetValue (key, p_value) ? ENOMEM : 0;
+    return TlsSetValue (key, value) ? ENOMEM : 0;
 #else
 # error Unimplemented!
 #endif




More information about the vlc-devel mailing list