From: divverent Date: Sun, 2 Mar 2008 16:32:04 +0000 (+0000) Subject: unconst something X-Git-Tag: xonotic-v0.1.0preview~2342 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e139a4de6ecc834bdf3d273440c639388a48633b;p=xonotic%2Fdarkplaces.git unconst something git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8182 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/snd_coreaudio.c b/snd_coreaudio.c index cb653f04..3997e58d 100644 --- a/snd_coreaudio.c +++ b/snd_coreaudio.c @@ -55,7 +55,7 @@ static OSStatus audioDeviceIOProc(AudioDeviceID inDevice, { float *outBuffer; unsigned int frameCount, factor, sampleIndex; - const float scale = 1.0f / SHRT_MAX; + float scale = 1.0f / SHRT_MAX; outBuffer = (float*)outOutputData->mBuffers[0].mData; factor = snd_renderbuffer->format.channels * snd_renderbuffer->format.width;