From a4f9d6d98b390ace6a8b3fdcb9757925ad9e465c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 30 Aug 2014 00:26:48 +0200 Subject: [PATCH] output/alsa: fix signed/unsigned comparison warning --- src/output/plugins/AlsaOutputPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;