changeset 36435:2d41b475a7b4

Silence a format warning with cdparanoia. Although cdparanoia returns a long value, it's just a cast of an int, while libcdio uses uint8_t (which both is sufficient for the possible 99 tracks).
author ib
date Mon, 02 Dec 2013 14:30:21 +0000
parents 72438f81faab
children 00e6d020db41
files stream/stream_cdda.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_cdda.c	Mon Dec 02 14:13:47 2013 +0000
+++ b/stream/stream_cdda.c	Mon Dec 02 14:30:21 2013 +0000
@@ -374,7 +374,7 @@
   }
 
   cd_info = cd_info_new();
-  mp_msg(MSGT_OPEN,MSGL_INFO,MSGTR_MPDEMUX_CDDA_AudioCDFoundWithNTracks,cdda_tracks(cdd));
+  mp_msg(MSGT_OPEN,MSGL_INFO,MSGTR_MPDEMUX_CDDA_AudioCDFoundWithNTracks,(int)cdda_tracks(cdd));
   for(i=0;i<cdd->tracks;i++) {
 	  char track_name[80];
 	  long sec=cdda_track_firstsector(cdd,i+1);