Commit 8917f566 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix incorrect type size on 64bits

parent 6a8601da
...@@ -658,10 +658,12 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto ) ...@@ -658,10 +658,12 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
GetDWLE( p_sys->p_cmd + MMS_CMD_HEADERSIZE + 60 ); GetDWLE( p_sys->p_cmd + MMS_CMD_HEADERSIZE + 60 );
msg_Dbg( p_access, msg_Dbg( p_access,
"answer 0x06 flags:0x%8.8x media_length:%us packet_length:%ul packet_count:%u max_bit_rate:%d header_size:%d", "answer 0x06 flags:0x%8.8x media_length:%us "
"packet_length:%ul packet_count:%d max_bit_rate:%d "
"header_size:%d",
p_sys->i_flags_broadcast, p_sys->i_flags_broadcast,
p_sys->i_media_length, p_sys->i_media_length,
p_sys->i_packet_length, (unsigned)p_sys->i_packet_length,
p_sys->i_packet_count, p_sys->i_packet_count,
p_sys->i_max_bit_rate, p_sys->i_max_bit_rate,
p_sys->i_header_size ); p_sys->i_header_size );
......
...@@ -90,7 +90,8 @@ static int Open (vlc_object_t *obj) ...@@ -90,7 +90,8 @@ static int Open (vlc_object_t *obj)
p_sys->bandwidth = var_CreateGetInteger (access, "access-bandwidth"); p_sys->bandwidth = var_CreateGetInteger (access, "access-bandwidth");
p_sys->last_time = mdate (); p_sys->last_time = mdate ();
msg_Dbg (obj, "bandwidth limit: %u bytes/s", p_sys->bandwidth); msg_Dbg (obj, "bandwidth limit: %lu bytes/s",
(unsigned long)p_sys->bandwidth);
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
...@@ -318,7 +318,7 @@ gnutls_HandshakeAndValidate( tls_session_t *session ) ...@@ -318,7 +318,7 @@ gnutls_HandshakeAndValidate( tls_session_t *session )
/* certificate (host)name verification */ /* certificate (host)name verification */
const gnutls_datum *data = gnutls_certificate_get_peers( p_sys->session, const gnutls_datum *data = gnutls_certificate_get_peers( p_sys->session,
&(size_t){ 0 } ); &(unsigned){0} );
if( data == NULL ) if( data == NULL )
{ {
msg_Err( session, "Peer certificate not available" ); msg_Err( session, "Peer certificate not available" );
......
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