[vlc-devel] commit: GetLastError throws a DWORD, IIRC, not a char* ( Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Mar 8 10:50:25 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Mar  8 01:39:01 2008 -0800| [21720e09b3b624c8f7f5a342d9ac703de074154d]

GetLastError throws a DWORD, IIRC, not a char*

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

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

diff --git a/src/misc/threads.c b/src/misc/threads.c
index 5ce61f0..ee60220 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -753,7 +753,7 @@ void __vlc_thread_join( vlc_object_t *p_this, const char * psz_file, int i_line
     FILETIME create_ft, exit_ft, kernel_ft, user_ft;
     int64_t real_time, kernel_time, user_time;
     HANDLE hThread;
- 
+
     /*
     ** object will close its thread handle when destroyed, duplicate it here
     ** to be on the safe side
@@ -766,7 +766,7 @@ void __vlc_thread_join( vlc_object_t *p_this, const char * psz_file, int i_line
             FALSE,
             DUPLICATE_SAME_ACCESS) )
     {
-        msg_Err( p_this, "thread_join(%u) failed at %s:%d (%s)",
+        msg_Err( p_this, "thread_join(%u) failed at %s:%d (%i)",
                          (unsigned int)p_priv->thread_id.id,
              psz_file, i_line, GetLastError() );
         p_priv->b_thread = VLC_FALSE;




More information about the vlc-devel mailing list