From: Jaroslav Kysela Date: Wed, 12 Feb 2003 12:51:34 +0000 (+0000) Subject: Fixed compilation X-Git-Tag: v1.0.3~289 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=6b8875c8142ab30e77dbabd7a5329e7e8cda474f;p=alsa-lib.git Fixed compilation --- diff --git a/src/pcm/pcm_params.c b/src/pcm/pcm_params.c index dd09162a..b185a1a5 100644 --- a/src/pcm/pcm_params.c +++ b/src/pcm/pcm_params.c @@ -973,7 +973,7 @@ int snd_pcm_hw_param_refine_multiple(snd_pcm_t *pcm, break; if (it->min <= cur && ! (it->min == cur && st->openmin)) { if (! snd_pcm_hw_param_set(pcm, params, SND_TRY, var, cur, 0)) - return; /* ok */ + return 0; /* ok */ } prev = cur; cur += best;