mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
a set of fixes to reduce gcc warnings
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
345843fc24
commit
7f084af4e4
7 changed files with 13 additions and 9 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue