]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
+ Compiling fix
authormotorsep <motorsep@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 26 May 2019 22:05:03 +0000 (22:05 +0000)
committermotorsep <motorsep@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 26 May 2019 22:05:03 +0000 (22:05 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12477 d7cf8633-e32d-0410-b094-e92efae38249

snd_mix.c

index 4ed38a88b633fde65875389fb622340cc3d4b12a..f9748bd6d86504239a7fe139bc9b63481f8ab4aa 100644 (file)
--- a/snd_mix.c
+++ b/snd_mix.c
@@ -128,6 +128,7 @@ static void S_SoftClipPaintBuffer(portable_sampleframe_t *painted_ptr, int nbfra
 static void S_ConvertPaintBuffer(portable_sampleframe_t *painted_ptr, void *rb_ptr, int nbframes, int width, int nchannels)
 {
        int i;
+       float val;
        if (width == 4)  // 32bit float
        {
                float *snd_out = (float*)rb_ptr;