From 674b14faa398c7f6f9fa1ac43344ceab019df791 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 7 May 2011 04:32:53 -0700 Subject: Make a couple more pointers restricted --- Alc/ALu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Alc/ALu.c b/Alc/ALu.c index 831c245a..f5e585ed 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -959,9 +959,10 @@ DECL_TEMPLATE(ALbyte, X71Chans,8, aluF2B) #undef DECL_TEMPLATE #define DECL_TEMPLATE(T, chans,N, func) \ -static void Write_##T##_##chans(ALCdevice *device, T *buffer, ALuint SamplesToDo)\ +static void Write_##T##_##chans(ALCdevice *device, T *RESTRICT buffer, \ + ALuint SamplesToDo) \ { \ - ALfloat (*DryBuffer)[MAXCHANNELS] = device->DryBuffer; \ + ALfloat (*RESTRICT DryBuffer)[MAXCHANNELS] = device->DryBuffer; \ const ALuint *ChanMap = device->DevChannels; \ ALuint i, j; \ \ -- cgit v1.2.3