[MPlayer-cvslog] r27714 - trunk/libao2/ao_alsa.c

ranma subversion at mplayerhq.hu
Sat Oct 4 17:11:40 CEST 2008


Author: ranma
Date: Sat Oct  4 17:11:39 2008
New Revision: 27714

Log:
Fix "format '%d' expects type 'int', but argument 6 has type 'size_t'" warning.

Modified:
   trunk/libao2/ao_alsa.c

Modified: trunk/libao2/ao_alsa.c
==============================================================================
--- trunk/libao2/ao_alsa.c	(original)
+++ trunk/libao2/ao_alsa.c	Sat Oct  4 17:11:39 2008
@@ -707,7 +707,7 @@ static int init(int rate_hz, int channel
       /* end setting sw-params */
 
       mp_msg(MSGT_AO,MSGL_V,"alsa: %d Hz/%d channels/%d bpf/%d bytes buffer/%s\n",
-	     ao_data.samplerate, ao_data.channels, bytes_per_sample, ao_data.buffersize,
+	     ao_data.samplerate, ao_data.channels, (int)bytes_per_sample, ao_data.buffersize,
 	     snd_pcm_format_description(alsa_format));
 
     } // end switch alsa_handler (spdif)



More information about the MPlayer-cvslog mailing list