spu2x: sign compare

This commit is contained in:
Gregory Hainaut 2015-11-06 23:18:58 +01:00
parent 4bfb60865c
commit 6180515212
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ protected:
fprintf(stderr,"* SPU2-X:Iz in your internal callback.\n"); fprintf(stderr,"* SPU2-X:Iz in your internal callback.\n");
avail = snd_pcm_avail_update( handle ); avail = snd_pcm_avail_update( handle );
while (avail >= period_time ) while (avail >= (int)period_time )
{ {
StereoOut16 buff[PacketsPerBuffer * SndOutPacketSize]; StereoOut16 buff[PacketsPerBuffer * SndOutPacketSize];
StereoOut16* p1 = buff; StereoOut16* p1 = buff;