From cb8c70d6c2ee1a9aa6465719854175f4ede514fd Mon Sep 17 00:00:00 2001 From: ranma Date: Sat, 4 Oct 2008 15:11:39 +0000 Subject: Fix "format '%d' expects type 'int', but argument 6 has type 'size_t'" warning. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27714 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/ao_alsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libao2/ao_alsa.c') diff --git a/libao2/ao_alsa.c b/libao2/ao_alsa.c index e5372390f8..4cb4470271 100644 --- a/libao2/ao_alsa.c +++ b/libao2/ao_alsa.c @@ -707,7 +707,7 @@ static int init(int rate_hz, int channels, int format, int flags) /* 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) -- cgit v1.2.3