Commit fb3e43ed authored by Max Kellermann's avatar Max Kellermann

alsa: frame_size is size_t, not int

frame_size is a memory size and should be a size_t, not a signed integer.
parent d887b635
...@@ -50,7 +50,7 @@ struct alsa_data { ...@@ -50,7 +50,7 @@ struct alsa_data {
alsa_writei_t *writei; alsa_writei_t *writei;
unsigned int buffer_time; unsigned int buffer_time;
unsigned int period_time; unsigned int period_time;
int frame_size; size_t frame_size;
bool use_mmap; bool use_mmap;
struct mixer mixer; struct mixer mixer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment