From fb3e43ed733e7b012e031e315d596299a9e8d197 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 25 Jan 2009 13:07:06 +0100 Subject: alsa: frame_size is size_t, not int frame_size is a memory size and should be a size_t, not a signed integer. --- src/output/alsa_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/alsa_plugin.c b/src/output/alsa_plugin.c index e76bf82f0..114355ba8 100644 --- a/src/output/alsa_plugin.c +++ b/src/output/alsa_plugin.c @@ -50,7 +50,7 @@ struct alsa_data { alsa_writei_t *writei; unsigned int buffer_time; unsigned int period_time; - int frame_size; + size_t frame_size; bool use_mmap; struct mixer mixer; -- cgit v1.2.3