From 6180515212c0ffa9b91cbcfc712c2b7b16990304 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Fri, 6 Nov 2015 23:18:58 +0100 Subject: [PATCH] spu2x: sign compare --- plugins/spu2-x/src/Linux/Alsa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/spu2-x/src/Linux/Alsa.cpp b/plugins/spu2-x/src/Linux/Alsa.cpp index 9bc5631125..093c95adba 100644 --- a/plugins/spu2-x/src/Linux/Alsa.cpp +++ b/plugins/spu2-x/src/Linux/Alsa.cpp @@ -47,7 +47,7 @@ protected: fprintf(stderr,"* SPU2-X:Iz in your internal callback.\n"); avail = snd_pcm_avail_update( handle ); - while (avail >= period_time ) + while (avail >= (int)period_time ) { StereoOut16 buff[PacketsPerBuffer * SndOutPacketSize]; StereoOut16* p1 = buff;