]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_ogg.c
Updated cl_modelindexlist command with additional model information, including model...
[xonotic/darkplaces.git] / snd_ogg.c
index 9016656f9d361c68cca3b4c9a27b9b9d5e2be51a..7c856ce666c43ee511383c3aca730102bd3f53f2 100644 (file)
--- 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