From 5a9c26af59f6bc901c9cb32f447e27c9d3bf4430 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 21 Jun 2010 10:51:31 +0000 Subject: 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 --- stream/stream_cdda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream/stream_cdda.c') 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;itracks;i++) { char track_name[80]; long sec=cdda_track_firstsector(cdd,i+1); -- cgit v1.2.3