diff options
author | Chris Robinson <[email protected]> | 2019-09-11 08:08:23 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-11 08:08:23 -0700 |
commit | 1a9f1e0869f7327216d57e2a44b6ba9752986152 (patch) | |
tree | 4a79cab0b4a26de8e8d69eb862c821d5a957a84e /alc/mixer | |
parent | 14c76ca2447a9c905ffad6898795b2024b1a85f6 (diff) |
Fix a few more C-style casts
Diffstat (limited to 'alc/mixer')
-rw-r--r-- | alc/mixer/mixer_neon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); } } |