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
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;
......
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