]> git.sesse.net Git - vlc/commitdiff
CDDA: fix printf format
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 5 Jan 2015 16:37:47 +0000 (17:37 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 5 Jan 2015 16:37:47 +0000 (17:37 +0100)
modules/access/cdda.c

index 34623fc246bd89b79dc681c43bb3f87277348476..8202619cbacca3ce29a45423e775999d3197ec1d 100644 (file)
@@ -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 ) )