Commit 21720e09 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

GetLastError throws a DWORD, IIRC, not a char*

parent c41d1baf
...@@ -753,7 +753,7 @@ void __vlc_thread_join( vlc_object_t *p_this, const char * psz_file, int i_line ...@@ -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; FILETIME create_ft, exit_ft, kernel_ft, user_ft;
int64_t real_time, kernel_time, user_time; int64_t real_time, kernel_time, user_time;
HANDLE hThread; HANDLE hThread;
/* /*
** object will close its thread handle when destroyed, duplicate it here ** object will close its thread handle when destroyed, duplicate it here
** to be on the safe side ** 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 ...@@ -766,7 +766,7 @@ void __vlc_thread_join( vlc_object_t *p_this, const char * psz_file, int i_line
FALSE, FALSE,
DUPLICATE_SAME_ACCESS) ) 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, (unsigned int)p_priv->thread_id.id,
psz_file, i_line, GetLastError() ); psz_file, i_line, GetLastError() );
p_priv->b_thread = VLC_FALSE; p_priv->b_thread = VLC_FALSE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment