summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-21 10:51:31 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:11:07 +0200
commit5a9c26af59f6bc901c9cb32f447e27c9d3bf4430 (patch)
treef6498e8f59bea2eccf009e6775065151f5722968 /stream
parent899caa91f195ad422731761d69035b9de23ebb00 (diff)
downloadmpv-5a9c26af59f6bc901c9cb32f447e27c9d3bf4430.tar.bz2
mpv-5a9c26af59f6bc901c9cb32f447e27c9d3bf4430.tar.xz
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
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_cdda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c
index b768d25682..aa459a7e3d 100644
--- a/stream/stream_cdda.c
+++ b/stream/stream_cdda.c
@@ -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);