diff options
author | Max Kellermann <max@duempel.org> | 2014-08-30 00:26:48 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-30 00:27:01 +0200 |
commit | a4f9d6d98b390ace6a8b3fdcb9757925ad9e465c (patch) | |
tree | 7ae35d099d6127b3827f17d8af976b3b0409e7f0 /src | |
parent | eebd03701a4e1bcaadd30c572cf27c872b370d82 (diff) | |
download | mpd-a4f9d6d98b390ace6a8b3fdcb9757925ad9e465c.tar.gz mpd-a4f9d6d98b390ace6a8b3fdcb9757925ad9e465c.tar.xz mpd-a4f9d6d98b390ace6a8b3fdcb9757925ad9e465c.zip |
output/alsa: fix signed/unsigned comparison warning
Diffstat (limited to '')
-rw-r--r-- | src/output/plugins/AlsaOutputPlugin.cxx | 2 |
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; |