a set of fixes to reduce gcc warnings

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2018-03-27 15:16:41 +02:00
parent 345843fc24
commit 7f084af4e4
7 changed files with 13 additions and 9 deletions

View file

@ -587,7 +587,7 @@ int snd_pcm_plugin_may_wait_for_avail_min(snd_pcm_t *pcm,
if (available < 0)
return 0;
if (available >= pcm->avail_min)
if ((snd_pcm_uframes_t)available >= pcm->avail_min)
/* don't wait at all. As we can't configure avail_min
* of slave to 0 return here
*/