From b7d5652bf63c2885588ad61b5f44b164627bb5a6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 20 Oct 2011 02:11:40 +0200 Subject: pcm_volume: "length" is a "size_t", not "int" --- src/pcm_volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pcm_volume.c') diff --git a/src/pcm_volume.c b/src/pcm_volume.c index 7d9d2fe42..dd5f6f90c 100644 --- a/src/pcm_volume.c +++ b/src/pcm_volume.c @@ -138,7 +138,7 @@ pcm_volume_change_32(int32_t *buffer, unsigned num_samples, int volume) } bool -pcm_volume(void *buffer, int length, +pcm_volume(void *buffer, size_t length, enum sample_format format, int volume) { -- cgit v1.2.3