# HG changeset patch # User ranma # Date 1223133099 0 # Node ID 25245b3e962f73f9e3c3e3c803c8f2d23f48779f # Parent 317f7890e2f9dabf4f09e79a799fe8386c6c3d41 Fix "format '%d' expects type 'int', but argument 6 has type 'size_t'" warning. diff -r 317f7890e2f9 -r 25245b3e962f libao2/ao_alsa.c --- a/libao2/ao_alsa.c Sat Oct 04 15:06:50 2008 +0000 +++ b/libao2/ao_alsa.c Sat Oct 04 15:11:39 2008 +0000 @@ -707,7 +707,7 @@ /* 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)