From a0a315c850c037a71e4bf8fd854bb6c671af4e02 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sat, 14 Jun 2008 16:31:33 -0700 Subject: [PATCH] Kill warnings. --- modules/demux/avi/avi.c | 4 ++-- modules/demux/avi/libavi.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c index 1d7b6b7dcf..64fcf57b08 100644 --- a/modules/demux/avi/avi.c +++ b/modules/demux/avi/avi.c @@ -551,8 +551,8 @@ static int Open( vlc_object_t * p_this ) fmt.p_extra = &p_vids->p_bih[1]; msg_Dbg( p_demux, "stream[%d] video(%4.4s) %dx%d %dbpp %ffps", i, (char*)&p_vids->p_bih->biCompression, - p_vids->p_bih->biWidth, - p_vids->p_bih->biHeight, + (uint32_t)p_vids->p_bih->biWidth, + (uint32_t)p_vids->p_bih->biHeight, p_vids->p_bih->biBitCount, (float)tk->i_rate/(float)tk->i_scale ); diff --git a/modules/demux/avi/libavi.c b/modules/demux/avi/libavi.c index b91f070842..91866a3e45 100644 --- a/modules/demux/avi/libavi.c +++ b/modules/demux/avi/libavi.c @@ -408,8 +408,8 @@ static int AVI_ChunkRead_strf( stream_t *s, avi_chunk_t *p_chk ) msg_Dbg( (vlc_object_t*)s, "strf: video:%4.4s %dx%d planes:%d %dbpp", (char*)&p_chk->strf.vids.p_bih->biCompression, - p_chk->strf.vids.p_bih->biWidth, - p_chk->strf.vids.p_bih->biHeight, + (uint32_t)p_chk->strf.vids.p_bih->biWidth, + (uint32_t)p_chk->strf.vids.p_bih->biHeight, p_chk->strf.vids.p_bih->biPlanes, p_chk->strf.vids.p_bih->biBitCount ); #endif @@ -651,7 +651,7 @@ static int AVI_ChunkRead_nothing( stream_t *s, avi_chunk_t *p_chk ) } static void AVI_ChunkFree_nothing( avi_chunk_t *p_chk ) { - + VLC_UNUSED( p_chk ); } static struct -- 2.39.2