snd_mp3.c: fixed windows build.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@377 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2011-01-05 21:29:00 +00:00
parent 766c2a7f2f
commit 9bb413d4aa

View file

@ -278,7 +278,7 @@ static int mp3_decode(snd_stream_t *stream, byte *buf, int len)
do
{
x = (p->Synth.pcm.length - p->cursamp) * stream->info.channels;
donow = q_min(len, x);
donow = min(len, x);
i = 0;
while (i < donow)
{