diff options
author | Chris Robinson <[email protected]> | 2011-05-07 04:32:53 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-05-07 04:32:53 -0700 |
commit | 674b14faa398c7f6f9fa1ac43344ceab019df791 (patch) | |
tree | b3f3ae883535961bf19f8aee468b0398a1ca820c | |
parent | a8fdcd30a54ae2bceb964e4f760fc872497fd7e2 (diff) |
Make a couple more pointers restricted
-rw-r--r-- | Alc/ALu.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; \ \ |