Commit 4d4dc1de authored by Rémi Duraffort's avatar Rémi Duraffort

Fix printf format string (Use PRI* or zd when applicable)

parent 7d91581a
...@@ -147,7 +147,7 @@ static int Open ( vlc_object_t *p_this ) ...@@ -147,7 +147,7 @@ static int Open ( vlc_object_t *p_this )
/* */ /* */
const rar_file_t *p_file = p_sys->p_file; const rar_file_t *p_file = p_sys->p_file;
msg_Dbg( s, "Using RAR stream filter for '%s' %lld(expected %lld) bytes in %d chunks", msg_Dbg( s, "Using RAR stream filter for '%s' %"PRId64"(expected %"PRId64") bytes in %d chunks",
p_file->psz_name, p_file->i_real_size, p_file->i_size, p_file->i_chunk ); p_file->psz_name, p_file->i_real_size, p_file->i_size, p_file->i_chunk );
return VLC_SUCCESS; return VLC_SUCCESS;
......
...@@ -1293,7 +1293,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -1293,7 +1293,7 @@ static int Open( vlc_object_t *p_this )
/* Random client instance */ /* Random client instance */
gcry_randomize( &i_client_instance, sizeof( i_client_instance ), gcry_randomize( &i_client_instance, sizeof( i_client_instance ),
GCRY_STRONG_RANDOM ); GCRY_STRONG_RANDOM );
if ( asprintf( &p_sys->psz_client_instance, "%016llX", if ( asprintf( &p_sys->psz_client_instance, "%016"PRIX64,
i_client_instance ) < 0 ) i_client_instance ) < 0 )
{ {
i_err = VLC_ENOMEM; i_err = VLC_ENOMEM;
......
...@@ -320,7 +320,7 @@ static void WriteYUV( vout_thread_t *p_vout, video_format_t fmt, ...@@ -320,7 +320,7 @@ static void WriteYUV( vout_thread_t *p_vout, video_format_t fmt,
i_written = fwrite( p_pic->p_data, 1, i_bytes, p_sys->p_fd ); i_written = fwrite( p_pic->p_data, 1, i_bytes, p_sys->p_fd );
if( i_written != i_bytes ) if( i_written != i_bytes )
{ {
msg_Warn( p_vout, "only %d of %d bytes written", msg_Warn( p_vout, "only %zd of %zd bytes written",
i_written, i_bytes ); i_written, i_bytes );
} }
} }
......
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