aboutsummaryrefslogtreecommitdiff
path: root/test
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 /test
parent725e48fce4e4ad08a2a9aa0a64c3e79df5636108 (diff)
pcm_volume: "length" is a "size_t", not "int"
Diffstat (limited to 'test')
-rw-r--r--test/read_mixer.c2
-rw-r--r--test/read_tags.c2
-rw-r--r--test/run_decoder.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/read_mixer.c b/test/read_mixer.c
index bf17e8f6..0a071946 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 30981994..86d508a5 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 9959b6de..01bf66aa 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)
{