From bbef4ad2672526b03f0af9d49b3cd3aaaaed7ff4 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sun, 22 Apr 2001 08:13:29 +0000 Subject: [PATCH] Fixed warning --- aplay/aplay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aplay/aplay.c b/aplay/aplay.c index 0747d15..e0cf98d 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -806,7 +806,7 @@ static void set_params(void) chunk_size = snd_pcm_hw_params_get_period_size(params, 0); buffer_size = snd_pcm_hw_params_get_buffer_size(params); if (chunk_size == buffer_size) { - error("Can't use period equal to buffer size (%u == %lu)", chunk_size, buffer_size); + error("Can't use period equal to buffer size (%u == %lu)", chunk_size, (long)buffer_size); exit(EXIT_FAILURE); } snd_pcm_sw_params_current(handle, swparams); @@ -1682,6 +1682,7 @@ void playbackv_go(int* fds, unsigned int channels, size_t loaded, size_t count, { int r; size_t vsize; + unsigned int channel; u_char *bufs[channels]; -- 2.47.1