Commit 95ee8030 authored by Rafaël Carré's avatar Rafaël Carré

fix warning

parent 4650afea
......@@ -317,7 +317,8 @@ static void QueueMsg( vlc_object_t *p_this, int i_queue, int i_type,
/* Expand %m to strerror(errno) - only once */
char buf[strlen( psz_format ) + 2001], *ptr;
strcpy( buf, psz_format );
ptr = psz_format = buf;
ptr = (char*)buf;
psz_format = (const char*) buf;
for( ;; )
{
......
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