aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/output/plugins/AlsaOutputPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/plugins/AlsaOutputPlugin.cxx b/src/output/plugins/AlsaOutputPlugin.cxx
index 303c46e2f..a18cedc70 100644
--- a/src/output/plugins/AlsaOutputPlugin.cxx
+++ b/src/output/plugins/AlsaOutputPlugin.cxx
@@ -429,7 +429,7 @@ alsa_setup(AlsaOutput *ad, AudioFormat &audio_format,
unsigned int channels = audio_format.channels;
int err;
const char *cmd = nullptr;
- int retry = MPD_ALSA_RETRY_NR;
+ unsigned retry = MPD_ALSA_RETRY_NR;
unsigned int period_time, period_time_ro;
unsigned int buffer_time;