diff options
author | Max Kellermann <max@duempel.org> | 2011-10-20 02:11:40 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-10-20 02:24:25 +0200 |
commit | b7d5652bf63c2885588ad61b5f44b164627bb5a6 (patch) | |
tree | 58da213be5460d780284988c5ef10beacbd0c277 /test | |
parent | 725e48fce4e4ad08a2a9aa0a64c3e79df5636108 (diff) | |
download | mpd-b7d5652bf63c2885588ad61b5f44b164627bb5a6.tar.gz mpd-b7d5652bf63c2885588ad61b5f44b164627bb5a6.tar.xz mpd-b7d5652bf63c2885588ad61b5f44b164627bb5a6.zip |
pcm_volume: "length" is a "size_t", not "int"
Diffstat (limited to 'test')
-rw-r--r-- | test/read_mixer.c | 2 | ||||
-rw-r--r-- | test/read_tags.c | 2 | ||||
-rw-r--r-- | test/run_decoder.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/read_mixer.c b/test/read_mixer.c index bf17e8f65..0a0719460 100644 --- a/test/read_mixer.c +++ b/test/read_mixer.c @@ -115,7 +115,7 @@ filter_plugin_by_name(G_GNUC_UNUSED const char *name) } bool -pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED int length, +pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED size_t length, G_GNUC_UNUSED enum sample_format format, G_GNUC_UNUSED int volume) { diff --git a/test/read_tags.c b/test/read_tags.c index 30981994c..86d508a5c 100644 --- a/test/read_tags.c +++ b/test/read_tags.c @@ -52,7 +52,7 @@ idle_add(G_GNUC_UNUSED unsigned flags) * No-op dummy. */ bool -pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED int length, +pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED size_t length, G_GNUC_UNUSED enum sample_format format, G_GNUC_UNUSED int volume) { diff --git a/test/run_decoder.c b/test/run_decoder.c index 9959b6ded..01bf66aae 100644 --- a/test/run_decoder.c +++ b/test/run_decoder.c @@ -56,7 +56,7 @@ idle_add(G_GNUC_UNUSED unsigned flags) * No-op dummy. */ bool -pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED int length, +pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED size_t length, G_GNUC_UNUSED enum sample_format format, G_GNUC_UNUSED int volume) { |