/* */
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 );
return VLC_SUCCESS;
/* Random client instance */
gcry_randomize( &i_client_instance, sizeof( i_client_instance ),
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_err = VLC_ENOMEM;
i_written = fwrite( p_pic->p_data, 1, i_bytes, p_sys->p_fd );
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 );
}
}