mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-28 23:09:59 +02:00
Explicit casts to proper integer types when formatting
This commit is contained in:
parent
84ab2958b9
commit
3c80258576
@ -626,7 +626,9 @@ static int ParseVobSubIDX( demux_t *p_demux )
|
|||||||
ms ) * 1000;
|
ms ) * 1000;
|
||||||
|
|
||||||
current_tk->i_delay = current_tk->i_delay + (i_gap * i_sign);
|
current_tk->i_delay = current_tk->i_delay + (i_gap * i_sign);
|
||||||
msg_Dbg( p_demux, "sign: %+d gap: %+lld global delay: %+lld", i_sign, i_gap, current_tk->i_delay );
|
msg_Dbg( p_demux, "sign: %+d gap: %+lld global delay: %+lld",
|
||||||
|
i_sign, (long long)i_gap,
|
||||||
|
(long long)current_tk->i_delay );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -129,7 +129,7 @@ void DeleteQueue ( audioscrobbler_queue_t *p_queue );
|
|||||||
/* HTTP POST request : to submit data */
|
/* HTTP POST request : to submit data */
|
||||||
#define POST_REQUEST "POST /%s HTTP/1.1\n" \
|
#define POST_REQUEST "POST /%s HTTP/1.1\n" \
|
||||||
"Accept-Encoding: identity\n" \
|
"Accept-Encoding: identity\n" \
|
||||||
"Content-length: %d\n" \
|
"Content-length: %u\n" \
|
||||||
"Connection: close\n" \
|
"Connection: close\n" \
|
||||||
"Content-type: application/x-www-form-urlencoded\n" \
|
"Content-type: application/x-www-form-urlencoded\n" \
|
||||||
"Host: %s\n" \
|
"Host: %s\n" \
|
||||||
@ -421,7 +421,7 @@ static void Main( intf_thread_t *p_this )
|
|||||||
i_net_ret = net_Printf(
|
i_net_ret = net_Printf(
|
||||||
VLC_OBJECT(p_this), i_post_socket, NULL,
|
VLC_OBJECT(p_this), i_post_socket, NULL,
|
||||||
POST_REQUEST, p_sys->psz_submit_file,
|
POST_REQUEST, p_sys->psz_submit_file,
|
||||||
strlen( psz_submit ), p_sys->psz_submit_file,
|
(unsigned)strlen( psz_submit ), p_sys->psz_submit_file,
|
||||||
VERSION, psz_submit
|
VERSION, psz_submit
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user