[vlc-devel] commit: Fix format string ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Jun 28 11:51:32 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Jun 28 12:53:35 2008 +0300| [e9cf1f8754ed0c8fe702b9b4108c341f9d98c148]
Fix format string
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e9cf1f8754ed0c8fe702b9b4108c341f9d98c148
---
modules/audio_filter/converter/dtstospdif.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/modules/audio_filter/converter/dtstospdif.c b/modules/audio_filter/converter/dtstospdif.c
index cfe4260..4fce313 100644
--- a/modules/audio_filter/converter/dtstospdif.c
+++ b/modules/audio_filter/converter/dtstospdif.c
@@ -126,8 +126,10 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter,
if( p_in_buf->i_nb_bytes != p_filter->p_sys->i_frame_size )
{
/* Frame size changed, reset everything */
- msg_Warn( p_aout, "Frame size changed from %d to %d, resetting everything.",
- p_filter->p_sys->i_frame_size, p_in_buf->i_nb_bytes );
+ msg_Warn( p_aout, "Frame size changed from %u to %u, "
+ "resetting everything.",
+ p_filter->p_sys->i_frame_size,
+ (unsigned)p_in_buf->i_nb_bytes );
p_filter->p_sys->i_frame_size = p_in_buf->i_nb_bytes;
p_filter->p_sys->p_buf = realloc( p_filter->p_sys->p_buf,
More information about the vlc-devel
mailing list