diff options
author | Chris Robinson <[email protected]> | 2017-10-07 15:28:35 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-10-07 15:28:35 -0700 |
commit | 5ec11a017c0799115e19895264917e8348a4c878 (patch) | |
tree | 52999892e3d23916db495b0c8db96434d1831f76 /Alc | |
parent | b3f7df6f5b0ce84937989c4b8fbbbce88bc9cebb (diff) |
Add casts for assigning the SSE bsinc filter pointers
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/mixer_sse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c index 773a1c2f..281b6f85 100644 --- a/Alc/mixer_sse.c +++ b/Alc/mixer_sse.c @@ -34,10 +34,10 @@ const ALfloat *Resample_bsinc_SSE(const InterpState *state, const ALfloat *restr #undef FRAC_PHASE_BITDIFF offset = m*pi*4; - fil = ASSUME_ALIGNED(filter + offset, 16); offset += m; - scd = ASSUME_ALIGNED(filter + offset, 16); offset += m; - phd = ASSUME_ALIGNED(filter + offset, 16); offset += m; - spd = ASSUME_ALIGNED(filter + offset, 16); + fil = (const __m128*)ASSUME_ALIGNED(filter + offset, 16); offset += m; + scd = (const __m128*)ASSUME_ALIGNED(filter + offset, 16); offset += m; + phd = (const __m128*)ASSUME_ALIGNED(filter + offset, 16); offset += m; + spd = (const __m128*)ASSUME_ALIGNED(filter + offset, 16); // Apply the scale and phase interpolated filter. r4 = _mm_setzero_ps(); |