From: divverent Date: Tue, 26 Jun 2007 20:27:40 +0000 (+0000) Subject: oops, I didn't see this warning X-Git-Tag: xonotic-v0.1.0preview~3010 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=478ebd99fcddf34e7fa7a8b47ac4c8f231a1f9dc;p=xonotic%2Fdarkplaces.git oops, I didn't see this warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7454 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/snd_ogg.c b/snd_ogg.c index 9016656f..7c856ce6 100644 --- a/snd_ogg.c +++ b/snd_ogg.c @@ -546,7 +546,7 @@ static const snd_buffer_t* OGG_FetchSound (channel_t* ch, unsigned int* start, u return NULL; } newlength = per_sfx->format.speed * factor; // -> 1 sec of sound before resampling - if(newlength > sizeof(resampling_buffer)) + if(newlength > (int)sizeof(resampling_buffer)) newlength = sizeof(resampling_buffer); // Decompress in the resampling_buffer