[vlc-commits] CDDA: fix printf format
Jean-Baptiste Kempf
git at videolan.org
Mon Jan 5 17:37:58 CET 2015
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 5 17:37:47 2015 +0100| [f4dd0b1cc8859fdf48b8e9533abd857bb61f24e8] | committer: Jean-Baptiste Kempf
CDDA: fix printf format
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f4dd0b1cc8859fdf48b8e9533abd857bb61f24e8
---
modules/access/cdda.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/cdda.c b/modules/access/cdda.c
index 34623fc..8202619 100644
--- a/modules/access/cdda.c
+++ b/modules/access/cdda.c
@@ -677,7 +677,7 @@ static cddb_disc_t *GetCDDBInfo( access_t *p_access, int i_titles, int *p_sector
msg_Dbg( p_access, "Track %i offset: %i", i, p_sectors[i] + 150 );
}
- msg_Dbg( p_access, "Total length: %i", i_length/1000000 );
+ msg_Dbg( p_access, "Total length: %i", (int)(i_length/1000000) );
cddb_disc_set_length( p_disc, (int)(i_length/1000000) );
if( !cddb_disc_calc_discid( p_disc ) )
More information about the vlc-commits
mailing list