[vlc-devel] commit: stats: Kill a warning. (Pierre d'Herbemont )

git version control git at videolan.org
Sat Jun 14 17:34:34 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jun 14 17:28:29 2008 +0200| [fcaf3746c77c7aaa692e39b3c377321f2155bda1]

stats: Kill a warning.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fcaf3746c77c7aaa692e39b3c377321f2155bda1
---

 modules/misc/stats/demux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/misc/stats/demux.c b/modules/misc/stats/demux.c
index 89ebdc4..20105b6 100644
--- a/modules/misc/stats/demux.c
+++ b/modules/misc/stats/demux.c
@@ -115,7 +115,7 @@ static int Demux( demux_t *p_demux )
     p_block->i_dts = p_block->i_pts =
         date_Increment( &p_sys->pts, kBufferSize );
 
-    msg_Dbg( p_demux, "demux got %d ms offset", (mdate() - *(mtime_t *)p_block->p_buffer) / 1000 );
+    msg_Dbg( p_demux, "demux got %d ms offset", (int)(mdate() - *(mtime_t *)p_block->p_buffer) / 1000 );
 
     //es_out_Control( p_demux->out, ES_OUT_SET_PCR, p_block->i_pts );
 




More information about the vlc-devel mailing list