aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-25 13:07:06 +0100
committerMax Kellermann <max@duempel.org>2009-01-25 13:07:06 +0100
commitfb3e43ed733e7b012e031e315d596299a9e8d197 (patch)
tree34e7255b00eab8ba86f017744f92d247d7bb18c0 /src/output
parentd887b6353f07932cbc66fa1ccdb33c1c03a4ab0b (diff)
downloadmpd-fb3e43ed733e7b012e031e315d596299a9e8d197.tar.gz
mpd-fb3e43ed733e7b012e031e315d596299a9e8d197.tar.xz
mpd-fb3e43ed733e7b012e031e315d596299a9e8d197.zip
alsa: frame_size is size_t, not int
frame_size is a memory size and should be a size_t, not a signed integer.
Diffstat (limited to 'src/output')
-rw-r--r--src/output/alsa_plugin.c2
1 files changed, 1 insertions, 1 deletions
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;