mirror of https://github.com/mpv-player/mpv
stream_cdda: change printf format for cdda_tracks to %d
Adjust printf length modifier, fixes the warning: stream/stream_cdda.c:358: warning: format '%ld' expects type 'long int', but argument 4 has type 'int' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31512 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
899caa91f1
commit
5a9c26af59
|
@ -355,7 +355,7 @@ static int open_cdda(stream_t *st,int m, void* opts, int* file_format) {
|
|||
}
|
||||
|
||||
cd_info = cd_info_new();
|
||||
mp_tmsg(MSGT_OPEN,MSGL_INFO,"Found audio CD with %ld tracks.\n",cdda_tracks(cdd));
|
||||
mp_tmsg(MSGT_OPEN,MSGL_INFO,"Found audio CD with %d tracks.\n",cdda_tracks(cdd));
|
||||
for(i=0;i<cdd->tracks;i++) {
|
||||
char track_name[80];
|
||||
long sec=cdda_track_firstsector(cdd,i+1);
|
||||
|
|
Loading…
Reference in New Issue