aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r--Alc/alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index 24d96ba1..f8ad0b78 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -289,7 +289,7 @@ static ALuint ALSAProc(ALvoid *ptr)
}
// make sure there's frames to process
- if(avail >= 0 && avail < (snd_pcm_sframes_t)pDevice->UpdateSize)
+ if((snd_pcm_uframes_t)avail < pDevice->UpdateSize)
{
if(state != SND_PCM_STATE_RUNNING)
{