From 5ec11a017c0799115e19895264917e8348a4c878 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 7 Oct 2017 15:28:35 -0700 Subject: Add casts for assigning the SSE bsinc filter pointers --- Alc/mixer_sse.c | 8 ++++---- 1 file 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(); -- cgit v1.2.3