From be554c2596c8d7f905e25a67b60f4497c76d4d9f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 26 Aug 2006 06:25:52 +0000 Subject: audioOutputs_oss: [trivial] make loop interation consistent with others git-svn-id: https://svn.musicpd.org/mpd/trunk@4689 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutputs/audioOutput_oss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audioOutputs') diff --git a/src/audioOutputs/audioOutput_oss.c b/src/audioOutputs/audioOutput_oss.c index af6cd5dcf..bd66bb050 100644 --- a/src/audioOutputs/audioOutput_oss.c +++ b/src/audioOutputs/audioOutput_oss.c @@ -368,7 +368,7 @@ static int oss_open_default(AudioOutput *ao, ConfigParam *param, OssData *od) else ERROR("error trying to open default OSS device\n"); - for (i = ARRAY_SIZE(default_devices) - 1; i >= 0; --i) { + for (i = ARRAY_SIZE(default_devices); --i >= 0; ) { const char *dev = default_devices[i]; switch(ret[i]) { case OSS_STAT_DOESN_T_EXIST: -- cgit v1.2.3