aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-30 00:26:48 +0200
committerMax Kellermann <max@duempel.org>2014-08-30 00:27:01 +0200
commita4f9d6d98b390ace6a8b3fdcb9757925ad9e465c (patch)
tree7ae35d099d6127b3827f17d8af976b3b0409e7f0 /src/output
parenteebd03701a4e1bcaadd30c572cf27c872b370d82 (diff)
downloadmpd-a4f9d6d98b390ace6a8b3fdcb9757925ad9e465c.tar.gz
mpd-a4f9d6d98b390ace6a8b3fdcb9757925ad9e465c.tar.xz
mpd-a4f9d6d98b390ace6a8b3fdcb9757925ad9e465c.zip
output/alsa: fix signed/unsigned comparison warning
Diffstat (limited to 'src/output')
-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;