[MPlayer-cvslog] r36531 - trunk/stream/stream_cdda.c

ib subversion at mplayerhq.hu
Mon Dec 2 15:30:21 CET 2013


Author: ib
Date: Mon Dec  2 15:30:21 2013
New Revision: 36531

Log:
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).

Modified:
   trunk/stream/stream_cdda.c

Modified: trunk/stream/stream_cdda.c
==============================================================================
--- trunk/stream/stream_cdda.c	Mon Dec  2 15:13:47 2013	(r36530)
+++ trunk/stream/stream_cdda.c	Mon Dec  2 15:30:21 2013	(r36531)
@@ -374,7 +374,7 @@ static int open_cdda(stream_t *st,int m,
   }
 
   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);


More information about the MPlayer-cvslog mailing list