From 1a9f1e0869f7327216d57e2a44b6ba9752986152 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 11 Sep 2019 08:08:23 -0700 Subject: Fix a few more C-style casts --- alc/mixer/mixer_neon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'alc/mixer/mixer_neon.cpp') diff --git a/alc/mixer/mixer_neon.cpp b/alc/mixer/mixer_neon.cpp index b8a15c62..d5b1658f 100644 --- a/alc/mixer/mixer_neon.cpp +++ b/alc/mixer/mixer_neon.cpp @@ -140,12 +140,12 @@ static inline void ApplyCoeffs(size_t /*Offset*/, float2 *RESTRICT Values, const for(ALsizei c{0};c < IrSize;c += 2) { - float32x4_t vals = vld1q_f32((float32_t*)&Values[c][0]); - float32x4_t coefs = vld1q_f32((float32_t*)&Coeffs[c][0]); + float32x4_t vals = vld1q_f32(&Values[c][0]); + float32x4_t coefs = vld1q_f32(&Coeffs[c][0]); vals = vmlaq_f32(vals, coefs, leftright4); - vst1q_f32((float32_t*)&Values[c][0], vals); + vst1q_f32(&Values[c][0], vals); } } -- cgit v1.2.3