[vlc-devel] [PATCH 3/3] pulse: Trivial compiler warning fixes in debug mode
Rémi Denis-Courmont
remi at remlab.net
Tue Jun 8 10:19:46 CEST 2010
On Tue, 8 Jun 2010 00:34:45 +0100, Colin Guthrie <cguthrie at mandriva.org>
wrote:
> ---
> modules/audio_output/pulse.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
> index 0a6b2e0..c374bbe 100644
> --- a/modules/audio_output/pulse.c
> +++ b/modules/audio_output/pulse.c
> @@ -460,7 +460,7 @@ static void stream_request_cb(pa_stream *s, size_t
> length, void *userdata) {
>
> size_t buffer_size = p_sys->buffer_size;
>
> - PULSE_DEBUG( "Pulse stream request %d", length);
> + PULSE_DEBUG( "Pulse stream request %d", (int)length);
No need to cast. Please use %zu instead of %d.
--
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list