changeset 27682:25245b3e962f

Fix "format '%d' expects type 'int', but argument 6 has type 'size_t'" warning.
author ranma
date Sat, 04 Oct 2008 15:11:39 +0000
parents 317f7890e2f9
children 29d9ec9b1f9d
files libao2/ao_alsa.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)