]> git.rm.cloudns.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)
committerRudolf Polzer <divVerent@gmail.com>
Sat, 10 Apr 2021 02:14:16 +0000 (04:14 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12477 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=26e5b80cd0a43345efe839789be857f31db1bdc1

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;