]> git.sesse.net Git - vlc/commitdiff
stats: Kill a warning.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 14 Jun 2008 15:28:29 +0000 (17:28 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 14 Jun 2008 15:28:29 +0000 (17:28 +0200)
modules/misc/stats/demux.c

index 89ebdc4941b57121c485a0cd93727807a4998945..20105b6d0761bdcec99d9d9ac728cd5ff0a02fe1 100644 (file)
@@ -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 );