aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_volume.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-10-20 02:11:40 +0200
committerMax Kellermann <max@duempel.org>2011-10-20 02:24:25 +0200
commitb7d5652bf63c2885588ad61b5f44b164627bb5a6 (patch)
tree58da213be5460d780284988c5ef10beacbd0c277 /src/pcm_volume.h
parent725e48fce4e4ad08a2a9aa0a64c3e79df5636108 (diff)
downloadmpd-b7d5652bf63c2885588ad61b5f44b164627bb5a6.tar.gz
mpd-b7d5652bf63c2885588ad61b5f44b164627bb5a6.tar.xz
mpd-b7d5652bf63c2885588ad61b5f44b164627bb5a6.zip
pcm_volume: "length" is a "size_t", not "int"
Diffstat (limited to 'src/pcm_volume.h')
-rw-r--r--src/pcm_volume.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_volume.h b/src/pcm_volume.h
index 3fd722e77..741c4db40 100644
--- a/src/pcm_volume.h
+++ b/src/pcm_volume.h
@@ -68,7 +68,7 @@ pcm_volume_dither(void)
* @return true on success, false if the audio format is not supported
*/
bool
-pcm_volume(void *buffer, int length,
+pcm_volume(void *buffer, size_t length,
enum sample_format format,
int volume);