From d7c8e095ca0978a891cb5956c011f8def21a19b6 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 5 Jul 2005 09:24:26 +0000 Subject: [PATCH] more size_t git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5495 d7cf8633-e32d-0410-b094-e92efae38249 --- snd_ogg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snd_ogg.c b/snd_ogg.c index 61085b6e..3dda63e4 100644 --- a/snd_ogg.c +++ b/snd_ogg.c @@ -492,7 +492,7 @@ static const sfxbuffer_t* OGG_FetchSound (channel_t* ch, unsigned int start, uns done += ret; // Resample in the sfxbuffer - newlength = ResampleSfx (resampling_buffer, (size_t)done / (size_t)factor, &per_sfx->format, sb->data + sb->length * factor, sfx->name); + newlength = ResampleSfx (resampling_buffer, (size_t)done / (size_t)factor, &per_sfx->format, sb->data + sb->length * (size_t)factor, sfx->name); sb->length += newlength; return sb; -- 2.39.2